pub struct StreetAddress<'a>(pub &'a Compound);Expand description
General purpose street and postal address information.
A compound value: stored inline inside the attribute that holds it, with no identity of its own (IEC 61970-552).
Tuple Fields§
§0: &'a CompoundImplementations§
Source§impl<'a> StreetAddress<'a>
impl<'a> StreetAddress<'a>
Sourcepub fn language(&self) -> Option<&'a str>
pub fn language(&self) -> Option<&'a str>
The language in which the address is specified, using ISO 639-1 two digit language code.
Sourcepub fn postal_code(&self) -> Option<&'a str>
pub fn postal_code(&self) -> Option<&'a str>
Postal code for the address.
Sourcepub fn street_detail(&self) -> Option<StreetDetail<'a>>
pub fn street_detail(&self) -> Option<StreetDetail<'a>>
Street detail.
Sourcepub fn town_detail(&self) -> Option<TownDetail<'a>>
pub fn town_detail(&self) -> Option<TownDetail<'a>>
Town detail.
Trait Implementations§
Source§impl<'a> Clone for StreetAddress<'a>
impl<'a> Clone for StreetAddress<'a>
impl<'a> Copy for StreetAddress<'a>
Auto Trait Implementations§
impl<'a> Forget for StreetAddress<'a>
impl<'a> Freeze for StreetAddress<'a>
impl<'a> Move for StreetAddress<'a>
impl<'a> RefUnwindSafe for StreetAddress<'a>
impl<'a> Send for StreetAddress<'a>
impl<'a> Sync for StreetAddress<'a>
impl<'a> Unpin for StreetAddress<'a>
impl<'a> UnsafeUnpin for StreetAddress<'a>where
&'a Compound: UnsafeUnpin,
impl<'a> UnwindSafe for StreetAddress<'a>where
&'a Compound: UnwindSafe,
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