pub struct NameAndAddress16 {
pub nm: String,
pub adr: PostalAddress24,
}Fields§
§nm: String§adr: PostalAddress24Implementations§
Source§impl NameAndAddress16
impl NameAndAddress16
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for NameAndAddress16
impl Clone for NameAndAddress16
Source§fn clone(&self) -> NameAndAddress16
fn clone(&self) -> NameAndAddress16
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 NameAndAddress16
impl Debug for NameAndAddress16
Source§impl Default for NameAndAddress16
impl Default for NameAndAddress16
Source§fn default() -> NameAndAddress16
fn default() -> NameAndAddress16
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NameAndAddress16
impl<'de> Deserialize<'de> for NameAndAddress16
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
Source§impl PartialEq for NameAndAddress16
impl PartialEq for NameAndAddress16
Source§impl Serialize for NameAndAddress16
impl Serialize for NameAndAddress16
impl StructuralPartialEq for NameAndAddress16
Auto Trait Implementations§
impl Freeze for NameAndAddress16
impl RefUnwindSafe for NameAndAddress16
impl Send for NameAndAddress16
impl Sync for NameAndAddress16
impl Unpin for NameAndAddress16
impl UnwindSafe for NameAndAddress16
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