solution to exercise 03_05

This commit is contained in:
David Doblas Jiménez 2024-06-23 17:58:03 +02:00
parent 1c16ac8c22
commit 852cd5f0b9

View File

@ -34,6 +34,17 @@ pub mod ticket {
// - `title` that returns the `title` field.
// - `description` that returns the `description` field.
// - `status` that returns the `status` field.
pub fn title(self) -> String {
self.title
}
pub fn description(self) -> String {
self.description
}
pub fn status(self) -> String {
self.status
}
}
}