pub struct AccountCustomFieldUpdate {
pub id: i64,
pub json: Option<bool>,
pub name: Option<String>,
pub required: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
AccountCustomFieldUpdate : accountCustomFieldUpdate is a command to update an account custom field
Fields§
§id: i64The custom field id
json: Option<bool>Set output format to JSON
name: Option<String>The new name of the custom field
required: Option<bool>Specify whether the custom field is mandatory
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl AccountCustomFieldUpdate
impl AccountCustomFieldUpdate
Sourcepub fn new(id: i64) -> AccountCustomFieldUpdate
pub fn new(id: i64) -> AccountCustomFieldUpdate
accountCustomFieldUpdate is a command to update an account custom field
Trait Implementations§
Source§impl Clone for AccountCustomFieldUpdate
impl Clone for AccountCustomFieldUpdate
Source§fn clone(&self) -> AccountCustomFieldUpdate
fn clone(&self) -> AccountCustomFieldUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountCustomFieldUpdate
impl Debug for AccountCustomFieldUpdate
Source§impl Default for AccountCustomFieldUpdate
impl Default for AccountCustomFieldUpdate
Source§fn default() -> AccountCustomFieldUpdate
fn default() -> AccountCustomFieldUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountCustomFieldUpdate
impl<'de> Deserialize<'de> for AccountCustomFieldUpdate
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 AccountCustomFieldUpdate
impl PartialEq for AccountCustomFieldUpdate
Source§fn eq(&self, other: &AccountCustomFieldUpdate) -> bool
fn eq(&self, other: &AccountCustomFieldUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountCustomFieldUpdate
impl Serialize for AccountCustomFieldUpdate
impl StructuralPartialEq for AccountCustomFieldUpdate
Auto Trait Implementations§
impl Freeze for AccountCustomFieldUpdate
impl RefUnwindSafe for AccountCustomFieldUpdate
impl Send for AccountCustomFieldUpdate
impl Sync for AccountCustomFieldUpdate
impl Unpin for AccountCustomFieldUpdate
impl UnsafeUnpin for AccountCustomFieldUpdate
impl UnwindSafe for AccountCustomFieldUpdate
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