pub struct PostAddress {
pub street_line1: String,
pub street_line2: String,
pub city: String,
pub state: String,
pub country_iso2: String,
pub post_code: String,
}Expand description
Generated from:
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddressFields§
§street_line1: String§street_line2: String§city: String§state: String§country_iso2: String§post_code: StringTrait Implementations§
Source§impl Clone for PostAddress
impl Clone for PostAddress
Source§fn clone(&self) -> PostAddress
fn clone(&self) -> PostAddress
Returns a duplicate 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 Debug for PostAddress
impl Debug for PostAddress
Source§impl Deserializable for PostAddress
impl Deserializable for PostAddress
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PostAddress> for PostAddress
impl From<PostAddress> for PostAddress
Source§fn from(x: PostAddress) -> Self
fn from(x: PostAddress) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PostAddress
impl Identifiable for PostAddress
Source§const CONSTRUCTOR_ID: u32 = 0x1e8caaeb
const CONSTRUCTOR_ID: u32 = 0x1e8caaeb
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PostAddress
impl PartialEq for PostAddress
Source§impl Serializable for PostAddress
impl Serializable for PostAddress
Source§impl TryFrom<PostAddress> for PostAddress
impl TryFrom<PostAddress> for PostAddress
Source§type Error = PostAddress
type Error = PostAddress
The type returned in the event of a conversion error.
impl StructuralPartialEq for PostAddress
Auto Trait Implementations§
impl Freeze for PostAddress
impl RefUnwindSafe for PostAddress
impl Send for PostAddress
impl Sync for PostAddress
impl Unpin for PostAddress
impl UnsafeUnpin for PostAddress
impl UnwindSafe for PostAddress
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