Struct libdav::ResourceType
source · pub struct ResourceType {
pub is_collection: bool,
pub is_calendar: bool,
pub is_address_book: bool,
}
Fields§
§is_collection: bool
§is_calendar: bool
§is_address_book: bool
Trait Implementations§
source§impl Debug for ResourceType
impl Debug for ResourceType
source§impl Default for ResourceType
impl Default for ResourceType
source§fn default() -> ResourceType
fn default() -> ResourceType
Returns the “default value” for a type. Read more
source§impl PartialEq for ResourceType
impl PartialEq for ResourceType
source§fn eq(&self, other: &ResourceType) -> bool
fn eq(&self, other: &ResourceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResourceType
impl StructuralPartialEq for ResourceType
Auto Trait Implementations§
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
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.