pub struct ContactPerson {
pub name: Box<str>,
pub channels: Vec<CommunicationChannel>,
}Expand description
A contact person extracted from a PARTIN CTA/NAD/COM group.
Corresponds to the Ansprechpartner group in PARTIN AHB 1.0f.
Fields§
§name: Box<str>Full name or department name.
channels: Vec<CommunicationChannel>Contact channels (phone, email, …).
Trait Implementations§
Source§impl Clone for ContactPerson
impl Clone for ContactPerson
Source§fn clone(&self) -> ContactPerson
fn clone(&self) -> ContactPerson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContactPerson
impl Debug for ContactPerson
Source§impl<'de> Deserialize<'de> for ContactPerson
impl<'de> Deserialize<'de> for ContactPerson
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
impl Eq for ContactPerson
Source§impl PartialEq for ContactPerson
impl PartialEq for ContactPerson
Source§fn eq(&self, other: &ContactPerson) -> bool
fn eq(&self, other: &ContactPerson) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContactPerson
impl Serialize for ContactPerson
impl StructuralPartialEq for ContactPerson
Auto Trait Implementations§
impl Freeze for ContactPerson
impl RefUnwindSafe for ContactPerson
impl Send for ContactPerson
impl Sync for ContactPerson
impl Unpin for ContactPerson
impl UnsafeUnpin for ContactPerson
impl UnwindSafe for ContactPerson
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