solution to exercise 03_05
This commit is contained in:
parent
1c16ac8c22
commit
852cd5f0b9
@ -34,6 +34,17 @@ pub mod ticket {
|
|||||||
// - `title` that returns the `title` field.
|
// - `title` that returns the `title` field.
|
||||||
// - `description` that returns the `description` field.
|
// - `description` that returns the `description` field.
|
||||||
// - `status` that returns the `status` 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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user