Struct instant_epp::contact::PostalInfo
source · pub struct PostalInfo<'a> {
pub info_type: Cow<'a, str>,
pub name: Cow<'a, str>,
pub organization: Option<Cow<'a, str>>,
pub address: Address<'a>,
}Expand description
The <postalInfo> type on contact transactions
Fields§
§info_type: Cow<'a, str>The ‘type’ attr on <postalInfo>
name: Cow<'a, str>The <name> tag under <postalInfo>
organization: Option<Cow<'a, str>>The <org> tag under <postalInfo>
address: Address<'a>The <addr> tag under <postalInfo>
Implementations§
Trait Implementations§
source§impl<'a> Clone for PostalInfo<'a>
impl<'a> Clone for PostalInfo<'a>
source§fn clone(&self) -> PostalInfo<'a>
fn clone(&self) -> PostalInfo<'a>
Returns a copy 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 moresource§impl<'a> Debug for PostalInfo<'a>
impl<'a> Debug for PostalInfo<'a>
source§impl<'a, 'xml> FromXml<'xml> for PostalInfo<'a>
impl<'a, 'xml> FromXml<'xml> for PostalInfo<'a>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml> ) -> Result<(), Error>
type Accumulator = Option<PostalInfo<'a>>
const KIND: Kind = ::instant_xml::Kind::Element
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PostalInfo<'a>
impl<'a> Send for PostalInfo<'a>
impl<'a> Sync for PostalInfo<'a>
impl<'a> Unpin for PostalInfo<'a>
impl<'a> UnwindSafe for PostalInfo<'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