Type Alias libdav::PropertyName
source · pub type PropertyName<'ns, 'name> = ExpandedName<'ns, 'name>;
Expand description
A WebDav property with a namespace
and name
.
This is currently an alias of roxmltree::ExpandedName
.
Aliased Type§
struct PropertyName<'ns, 'name> { /* private fields */ }
Implementations
source§impl<'a, 'b> ExpandedName<'a, 'b>
impl<'a, 'b> ExpandedName<'a, 'b>
source§impl ExpandedName<'static, 'static>
impl ExpandedName<'static, 'static>
sourcepub const fn from_static(
uri: &'static str,
name: &'static str,
) -> ExpandedName<'static, 'static>
pub const fn from_static( uri: &'static str, name: &'static str, ) -> ExpandedName<'static, 'static>
Create a new instance from static data.
§Example
use roxmltree::ExpandedName;
const DAV_HREF: ExpandedName =
ExpandedName::from_static("urn:ietf:params:xml:ns:caldav:", "calendar-data");
Trait Implementations
source§impl<'a, 'b> Clone for ExpandedName<'a, 'b>
impl<'a, 'b> Clone for ExpandedName<'a, 'b>
source§fn clone(&self) -> ExpandedName<'a, 'b>
fn clone(&self) -> ExpandedName<'a, 'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExpandedName<'_, '_>
impl Debug for ExpandedName<'_, '_>
source§impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>
impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>
source§fn from(v: &'b str) -> ExpandedName<'a, 'b>
fn from(v: &'b str) -> ExpandedName<'a, 'b>
Converts to this type from the input type.
source§impl<'a, 'b> PartialEq for ExpandedName<'a, 'b>
impl<'a, 'b> PartialEq for ExpandedName<'a, 'b>
source§fn eq(&self, other: &ExpandedName<'a, 'b>) -> bool
fn eq(&self, other: &ExpandedName<'a, 'b>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.