pub struct PropertyName<'ns, 'name> { /* private fields */ }
Expand description
A WebDAV property with a namespace
and name
.
See the names module for a variety of constants often used in CalDAV and CardDAV.
Implementations§
source§impl<'ns, 'name> PropertyName<'ns, 'name>
impl<'ns, 'name> PropertyName<'ns, 'name>
sourcepub const fn new(
namespace: &'ns str,
name: &'name str,
) -> PropertyName<'ns, 'name>
pub const fn new( namespace: &'ns str, name: &'name str, ) -> PropertyName<'ns, 'name>
Create an property instance.
Trait Implementations§
source§impl<'ns, 'name> Debug for PropertyName<'ns, 'name>
impl<'ns, 'name> Debug for PropertyName<'ns, 'name>
source§impl PartialEq<ExpandedName<'_, '_>> for PropertyName<'_, '_>
impl PartialEq<ExpandedName<'_, '_>> for PropertyName<'_, '_>
source§impl PartialEq<PropertyName<'_, '_>> for ExpandedName<'_, '_>
impl PartialEq<PropertyName<'_, '_>> for ExpandedName<'_, '_>
source§impl<'ns, 'name> PartialEq for PropertyName<'ns, 'name>
impl<'ns, 'name> PartialEq for PropertyName<'ns, 'name>
impl<'ns, 'name> StructuralPartialEq for PropertyName<'ns, 'name>
Auto Trait Implementations§
impl<'ns, 'name> Freeze for PropertyName<'ns, 'name>
impl<'ns, 'name> RefUnwindSafe for PropertyName<'ns, 'name>
impl<'ns, 'name> Send for PropertyName<'ns, 'name>
impl<'ns, 'name> Sync for PropertyName<'ns, 'name>
impl<'ns, 'name> Unpin for PropertyName<'ns, 'name>
impl<'ns, 'name> UnwindSafe for PropertyName<'ns, 'name>
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.