pub struct ItemSnapshot {
pub item_id: String,
pub index: Option<u32>,
pub status: ItemStatus,
pub payload: ItemPayload,
pub extra: BTreeMap<String, Value>,
}Expand description
Snapshot of an item at start/completion time.
Fields§
§item_id: String§index: Option<u32>§status: ItemStatus§payload: ItemPayload§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ItemSnapshot
impl Clone for ItemSnapshot
Source§fn clone(&self) -> ItemSnapshot
fn clone(&self) -> ItemSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ItemSnapshot
impl Debug for ItemSnapshot
Source§impl<'de> Deserialize<'de> for ItemSnapshot
impl<'de> Deserialize<'de> for ItemSnapshot
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
Auto Trait Implementations§
impl Freeze for ItemSnapshot
impl RefUnwindSafe for ItemSnapshot
impl Send for ItemSnapshot
impl Sync for ItemSnapshot
impl Unpin for ItemSnapshot
impl UnsafeUnpin for ItemSnapshot
impl UnwindSafe for ItemSnapshot
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