pub struct FoundCollection {
pub href: String,
pub etag: Option<String>,
pub supports_sync: bool,
}Expand description
Metadata for a collection.
This type is returned when listing collections. It contains metadata on collection itself, but not the entires themselves.
Fields§
§href: StringThe path component to a collection.
Should be treated as an opaque string. Only reserved characters are percent-encoded.
etag: Option<String>The entity tag reflecting the version of the fetched resource.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
supports_sync: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FoundCollection
impl RefUnwindSafe for FoundCollection
impl Send for FoundCollection
impl Sync for FoundCollection
impl Unpin for FoundCollection
impl UnwindSafe for FoundCollection
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.