pub struct LocalTask {
pub task: TaskV1,
pub transitions: Vec<Transition>,
pub claim_minutes: Option<u32>,
pub shared: Option<SharedRef>,
}Expand description
A local task: Hive’s task view plus its transitions.
Fields§
§task: TaskV1§transitions: Vec<Transition>Newest last, at most MAX_TRANSITIONS.
claim_minutes: Option<u32>The length of the current claim (its renewals keep it).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocalTask
impl<'de> Deserialize<'de> for LocalTask
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 Eq for LocalTask
impl StructuralPartialEq for LocalTask
Auto Trait Implementations§
impl Forget for LocalTask
impl Freeze for LocalTask
impl Move for LocalTask
impl RefUnwindSafe for LocalTask
impl Send for LocalTask
impl Sync for LocalTask
impl Unpin for LocalTask
impl UnsafeUnpin for LocalTask
impl UnwindSafe for LocalTask
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