pub struct ContactAssignmentRequestContact {
pub name: String,
pub description: Option<String>,
}Fields§
§name: String§description: Option<String>Implementations§
Source§impl ContactAssignmentRequestContact
impl ContactAssignmentRequestContact
pub fn new(name: String) -> ContactAssignmentRequestContact
Trait Implementations§
Source§impl Clone for ContactAssignmentRequestContact
impl Clone for ContactAssignmentRequestContact
Source§fn clone(&self) -> ContactAssignmentRequestContact
fn clone(&self) -> ContactAssignmentRequestContact
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 Default for ContactAssignmentRequestContact
impl Default for ContactAssignmentRequestContact
Source§fn default() -> ContactAssignmentRequestContact
fn default() -> ContactAssignmentRequestContact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactAssignmentRequestContact
impl<'de> Deserialize<'de> for ContactAssignmentRequestContact
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 ContactAssignmentRequestContact
impl PartialEq for ContactAssignmentRequestContact
Source§fn eq(&self, other: &ContactAssignmentRequestContact) -> bool
fn eq(&self, other: &ContactAssignmentRequestContact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContactAssignmentRequestContact
Auto Trait Implementations§
impl Freeze for ContactAssignmentRequestContact
impl RefUnwindSafe for ContactAssignmentRequestContact
impl Send for ContactAssignmentRequestContact
impl Sync for ContactAssignmentRequestContact
impl Unpin for ContactAssignmentRequestContact
impl UnwindSafe for ContactAssignmentRequestContact
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