pub struct Pending {
pub kind: ItemKind,
pub first_seen: u64,
pub last_seen: u64,
pub triggers: BTreeSet<Trigger>,
pub who: Vec<String>,
pub head_from: Option<String>,
pub head_to: Option<String>,
}Expand description
What has happened to one item since spar last acted on it. Persisted, so a restart in the middle of settling loses nothing: the notification is already past the watermark and will not come again.
Fields§
§kind: ItemKind§first_seen: u64§last_seen: u64§triggers: BTreeSet<Trigger>§who: Vec<String>§head_from: Option<String>§head_to: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pending
impl<'de> Deserialize<'de> for Pending
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 Pending
impl StructuralPartialEq for Pending
Auto Trait Implementations§
impl Freeze for Pending
impl RefUnwindSafe for Pending
impl Send for Pending
impl Sync for Pending
impl Unpin for Pending
impl UnsafeUnpin for Pending
impl UnwindSafe for Pending
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.