pub struct TaskItem {
pub local_number: u64,
pub title: Option<String>,
pub state: String,
pub action: &'static str,
pub reason: Option<&'static str>,
pub vault_number: Option<u64>,
pub error: Option<String>,
}Expand description
One local task and what the link does with it.
Fields§
§local_number: u64§title: Option<String>§state: StringThe local state (Cloud’s task states).
action: &'static strpropose | skip.
reason: Option<&'static str>For a skip: already_shared | not_accepted | in_progress |
done | cancelled | rejected | failed | unknown_state |
no_title | no_acceptance; else null.
vault_number: Option<u64>The vault task it became (or already is, for already_shared).
error: Option<String>Why bringing it did not finish this time (a later link resumes it).
Trait Implementations§
impl Eq for TaskItem
impl StructuralPartialEq for TaskItem
Auto Trait Implementations§
impl Forget for TaskItem
impl Freeze for TaskItem
impl Move for TaskItem
impl RefUnwindSafe for TaskItem
impl Send for TaskItem
impl Sync for TaskItem
impl Unpin for TaskItem
impl UnsafeUnpin for TaskItem
impl UnwindSafe for TaskItem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more