pub struct ItemState<I: Item> {
pub href: Href,
pub uid: String,
pub etag: Etag,
pub hash: ItemHash,
pub data: Option<I>,
}Expand description
State for an item at some point in time.
Fields§
§href: Href§uid: String§etag: Etag§hash: ItemHash§data: Option<I>Implementations§
Trait Implementations§
impl<I: Item> StructuralPartialEq for ItemState<I>
Auto Trait Implementations§
impl<I> Freeze for ItemState<I>where
I: Freeze,
impl<I> RefUnwindSafe for ItemState<I>where
I: RefUnwindSafe,
impl<I> Send for ItemState<I>
impl<I> Sync for ItemState<I>
impl<I> Unpin for ItemState<I>where
I: Unpin,
impl<I> UnwindSafe for ItemState<I>where
I: UnwindSafe,
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,
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<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
Source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.