#[non_exhaustive]pub struct TreeTask {
pub description: String,
pub id: String,
pub status: String,
pub subject: String,
pub updates: i32,
}Expand description
One task folded from the session’s TaskCreate/TaskUpdate calls.
Models the contract’s TreeTask schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: StringThe contract’s description.
id: StringThe contract’s id.
status: StringThe contract’s status.
subject: StringThe contract’s subject.
updates: i32The contract’s updates.
Trait Implementations§
Source§impl ContractModel for TreeTask
impl ContractModel for TreeTask
Source§impl<'de> Deserialize<'de> for TreeTask
impl<'de> Deserialize<'de> for TreeTask
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TreeTask
Auto Trait Implementations§
impl Freeze for TreeTask
impl RefUnwindSafe for TreeTask
impl Send for TreeTask
impl Sync for TreeTask
impl Unpin for TreeTask
impl UnsafeUnpin for TreeTask
impl UnwindSafe for TreeTask
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