Struct vstorage::base::FetchedItem
source · pub struct FetchedItem<I: Item> {
pub href: Href,
pub item: I,
pub etag: Etag,
}
Expand description
An item plus metadata returned when fetching it.
Fields§
§href: Href
See Href
item: I
The actual content of this item. See Item
.
etag: Etag
See Etag
Auto Trait Implementations§
impl<I> Freeze for FetchedItem<I>where
I: Freeze,
impl<I> RefUnwindSafe for FetchedItem<I>where
I: RefUnwindSafe,
impl<I> Send for FetchedItem<I>
impl<I> Sync for FetchedItem<I>
impl<I> Unpin for FetchedItem<I>where
I: Unpin,
impl<I> UnwindSafe for FetchedItem<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> 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.