Enum vcard::properties::Relationship
source · pub enum Relationship {
URI {
typ: Option<TypeWithRelatedType>,
media_type: Option<MediaType>,
property_id: Option<PropertyID>,
preference: Option<Preference>,
alternative_id: Option<AlternativeID>,
any: Option<Set<Any>>,
value: URI,
},
Text {
typ: Option<TypeWithRelatedType>,
language: Option<Language>,
property_id: Option<PropertyID>,
preference: Option<Preference>,
alternative_id: Option<AlternativeID>,
any: Option<Set<Any>>,
value: Text,
},
}
Variants
URI
Fields
typ: Option<TypeWithRelatedType>
property_id: Option<PropertyID>
preference: Option<Preference>
alternative_id: Option<AlternativeID>
value: URI
Text
Fields
typ: Option<TypeWithRelatedType>
property_id: Option<PropertyID>
preference: Option<Preference>
alternative_id: Option<AlternativeID>
value: Text
Implementations
sourceimpl Relationship
impl Relationship
Trait Implementations
sourceimpl Clone for Relationship
impl Clone for Relationship
sourcefn clone(&self) -> Relationship
fn clone(&self) -> Relationship
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Relationship
impl Debug for Relationship
sourceimpl Display for Relationship
impl Display for Relationship
sourceimpl Hash for Relationship
impl Hash for Relationship
sourceimpl PartialEq<Relationship> for Relationship
impl PartialEq<Relationship> for Relationship
sourcefn eq(&self, other: &Relationship) -> bool
fn eq(&self, other: &Relationship) -> bool
sourceimpl ValidatedWrapper for Relationship
impl ValidatedWrapper for Relationship
impl Eq for Relationship
impl StructuralEq for Relationship
impl StructuralPartialEq for Relationship
impl Validated for Relationship
Auto Trait Implementations
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more