Struct vcard::properties::Address
source · pub struct Address {
pub label: Option<Label>,
pub language: Option<Language>,
pub geo: Option<Geo>,
pub time_zone: Option<TimeZone>,
pub typ: Option<Type>,
pub property_id: Option<PropertyID>,
pub preference: Option<Preference>,
pub alternative_id: Option<AlternativeID>,
pub any: Option<Set<Any>>,
pub value: AddressValue,
}
Fields
label: Option<Label>
language: Option<Language>
geo: Option<Geo>
time_zone: Option<TimeZone>
typ: Option<Type>
property_id: Option<PropertyID>
preference: Option<Preference>
alternative_id: Option<AlternativeID>
any: Option<Set<Any>>
value: AddressValue
Implementations
sourceimpl Address
impl Address
pub fn from_address_value(address_value: AddressValue) -> Address
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl ValidatedWrapper for Address
impl ValidatedWrapper for Address
impl Eq for Address
impl StructuralEq for Address
impl StructuralPartialEq for Address
impl Validated for Address
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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