pub struct ContactToCreate {
pub contact_person: Option<Person>,
}Expand description
A wrapper that contains the person data to populate a newly created source.
This type is not used in any activity, and only used as part of another schema.
Fields§
§contact_person: Option<Person>Required. The person data to populate a newly created source.
Trait Implementations§
Source§impl Clone for ContactToCreate
impl Clone for ContactToCreate
Source§fn clone(&self) -> ContactToCreate
fn clone(&self) -> ContactToCreate
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 ContactToCreate
impl Debug for ContactToCreate
Source§impl Default for ContactToCreate
impl Default for ContactToCreate
Source§fn default() -> ContactToCreate
fn default() -> ContactToCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactToCreate
impl<'de> Deserialize<'de> for ContactToCreate
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 Serialize for ContactToCreate
impl Serialize for ContactToCreate
impl Part for ContactToCreate
Auto Trait Implementations§
impl Freeze for ContactToCreate
impl RefUnwindSafe for ContactToCreate
impl Send for ContactToCreate
impl Sync for ContactToCreate
impl Unpin for ContactToCreate
impl UnwindSafe for ContactToCreate
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