pub struct Relations {
pub assignee: Option<Principal>,
pub parent_task_id: Option<String>,
}Expand description
Relations describes the relationships of this Task, such as assignment, or if the Task has any parents.
Fields§
§assignee: Option<Principal>Who or what, if anyone, this Task is currently assigned to.
parent_task_id: Option<String>If this Task is a “sub-Task”, what is its parent, none if empty.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Relations
impl<'de> Deserialize<'de> for Relations
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 Relations
Auto Trait Implementations§
impl Freeze for Relations
impl RefUnwindSafe for Relations
impl Send for Relations
impl Sync for Relations
impl Unpin for Relations
impl UnwindSafe for Relations
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