pub struct ItemState<I: Item> {
pub href: Href,
pub uid: String,
pub etag: Etag,
pub hash: String,
pub data: Option<I>,
}
Expand description
State for an item at some point in time.
Fields§
§href: Href
§uid: String
§etag: Etag
§hash: String
§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.