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