#[non_exhaustive]pub struct ContactDetails {
pub contacts: Vec<Contact>,
/* private fields */
}Expand description
Details about specific contacts
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.contacts: Vec<Contact>A list of contacts
Implementations§
Source§impl ContactDetails
impl ContactDetails
pub fn new() -> Self
Sourcepub fn set_contacts<T, V>(self, v: T) -> Self
pub fn set_contacts<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ContactDetails
impl Clone for ContactDetails
Source§fn clone(&self) -> ContactDetails
fn clone(&self) -> ContactDetails
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 ContactDetails
impl Debug for ContactDetails
Source§impl Default for ContactDetails
impl Default for ContactDetails
Source§fn default() -> ContactDetails
fn default() -> ContactDetails
Returns the “default value” for a type. Read more
Source§impl Message for ContactDetails
impl Message for ContactDetails
Source§impl PartialEq for ContactDetails
impl PartialEq for ContactDetails
impl StructuralPartialEq for ContactDetails
Auto Trait Implementations§
impl Freeze for ContactDetails
impl RefUnwindSafe for ContactDetails
impl Send for ContactDetails
impl Sync for ContactDetails
impl Unpin for ContactDetails
impl UnwindSafe for ContactDetails
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