pub struct Template {
pub name: String,
pub task_name: String,
pub comment: String,
pub completeness: i32,
}Expand description
One template.
Fields§
§name: String§task_name: String§comment: String§completeness: i32Trait Implementations§
Source§impl From<&TaskTemplate> for Template
impl From<&TaskTemplate> for Template
Source§fn from(template: &TaskTemplate) -> Self
fn from(template: &TaskTemplate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnsafeUnpin for Template
impl UnwindSafe for Template
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more