pub enum PropertyValue {
AddressBookDescription(String),
AddressBookHomeSet(Vec<Href>),
CurrentUserPrincipal(Href),
ResourceType(ResourceType),
}Variants§
AddressBookDescription(String)
Address Book Description RFC 6352 section 6.2.1
AddressBookHomeSet(Vec<Href>)
Address Book Home Set RFC 6352 section 7.1.1
CurrentUserPrincipal(Href)
Current User Principal RFC 5397
ResourceType(ResourceType)
Resource Type RFC 4918 section 15.9
Implementations§
Source§impl PropertyValue
impl PropertyValue
Sourcepub fn to_name(self) -> PropertyName
pub fn to_name(self) -> PropertyName
Convert to PropertyName.
Sourcepub fn is_name(&self, name: PropertyName) -> bool
pub fn is_name(&self, name: PropertyName) -> bool
Match value by PropertyName.
Trait Implementations§
Source§impl Clone for PropertyValue
impl Clone for PropertyValue
Source§fn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnsafeUnpin for PropertyValue
impl UnwindSafe for PropertyValue
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