Struct libdav::ItemDetails
source · pub struct ItemDetails {
pub content_type: Option<String>,
pub etag: Option<String>,
pub resource_type: ResourceType,
}
Expand description
Details of a single item that are returned when listing them.
This does not include actual item data, it only includes their metadata.
Fields§
§content_type: Option<String>
§etag: Option<String>
§resource_type: ResourceType
Trait Implementations§
source§impl Debug for ItemDetails
impl Debug for ItemDetails
source§impl Default for ItemDetails
impl Default for ItemDetails
source§fn default() -> ItemDetails
fn default() -> ItemDetails
Returns the “default value” for a type. Read more
source§impl PartialEq for ItemDetails
impl PartialEq for ItemDetails
impl Eq for ItemDetails
impl StructuralPartialEq for ItemDetails
Auto Trait Implementations§
impl Freeze for ItemDetails
impl RefUnwindSafe for ItemDetails
impl Send for ItemDetails
impl Sync for ItemDetails
impl Unpin for ItemDetails
impl UnwindSafe for ItemDetails
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.