pub struct SearchContactsParams {
pub query: String,
pub limit: u32,
pub include_groups: Option<bool>,
}Expand description
Arguments for contacts_search.
Fields§
§query: StringA name, an email address or a phone number, or part of one.
limit: u32Most contacts to return. Omitted means 25. More than 100 is rejected.
include_groups: Option<bool>Also return groups, to find the id of a group for contacts_set_group_membership.
Trait Implementations§
Source§impl Debug for SearchContactsParams
impl Debug for SearchContactsParams
Source§impl Default for SearchContactsParams
impl Default for SearchContactsParams
Source§impl<'de> Deserialize<'de> for SearchContactsParams
impl<'de> Deserialize<'de> for SearchContactsParams
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 SearchContactsParams
impl JsonSchema for SearchContactsParams
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 SearchContactsParams
impl Freeze for SearchContactsParams
impl Move for SearchContactsParams
impl RefUnwindSafe for SearchContactsParams
impl Send for SearchContactsParams
impl Sync for SearchContactsParams
impl Unpin for SearchContactsParams
impl UnsafeUnpin for SearchContactsParams
impl UnwindSafe for SearchContactsParams
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