pub struct Address<'a> {
pub street: Vec<StringValue<'a>>,
pub city: StringValue<'a>,
pub province: StringValue<'a>,
pub postal_code: StringValue<'a>,
pub country: Country,
}Expand description
The <addr> type on contact transactions
Fields§
§street: Vec<StringValue<'a>>The <street> tags under <addr>
city: StringValue<'a>The <city> tag under <addr>
province: StringValue<'a>The <sp> tag under <addr>
postal_code: StringValue<'a>The <pc> tag under <addr>
country: CountryThe <cc> tag under <addr>
Implementations§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Address<'a>
impl<'de, 'a> Deserialize<'de> for Address<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for Address<'a>
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