pub struct CreateContactParams {
pub full_name: String,
pub emails: Vec<String>,
pub phones: Vec<String>,
}Expand description
Arguments for contacts_create.
Fields§
§full_name: StringFull name, such as Ada Lovelace.
emails: Vec<String>Email addresses.
phones: Vec<String>Phone numbers.
Trait Implementations§
Source§impl Debug for CreateContactParams
impl Debug for CreateContactParams
Source§impl Default for CreateContactParams
impl Default for CreateContactParams
Source§impl<'de> Deserialize<'de> for CreateContactParams
impl<'de> Deserialize<'de> for CreateContactParams
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 JsonSchema for CreateContactParams
impl JsonSchema for CreateContactParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for CreateContactParams
impl Freeze for CreateContactParams
impl Move for CreateContactParams
impl RefUnwindSafe for CreateContactParams
impl Send for CreateContactParamswhere
RawVecInner: Send,
impl Sync for CreateContactParamswhere
RawVecInner: Sync,
impl Unpin for CreateContactParams
impl UnsafeUnpin for CreateContactParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CreateContactParamswhere
RawVecInner: UnwindSafe,
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