Struct instant_epp::contact::Address
source · pub struct Address<'a> {
pub street: Vec<Cow<'a, str>>,
pub city: Cow<'a, str>,
pub province: Option<Cow<'a, str>>,
pub postal_code: Option<Cow<'a, str>>,
pub country: Country,
}Expand description
The <addr> type on contact transactions
Fields§
§street: Vec<Cow<'a, str>>The <street> tags under <addr>
city: Cow<'a, str>The <city> tag under <addr>
province: Option<Cow<'a, str>>The <sp> tag under <addr>
postal_code: Option<Cow<'a, str>>The <pc> tag under <addr>
country: CountryThe <cc> tag under <addr>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Address<'a>
impl<'a> Send for Address<'a>
impl<'a> Sync for Address<'a>
impl<'a> Unpin for Address<'a>
impl<'a> UnwindSafe for Address<'a>
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