pub struct AccountCustomFieldCreate {
pub json: Option<bool>,
pub name: String,
pub object: String,
pub object_type: String,
pub required: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
AccountCustomFieldCreate : accountCustomFieldCreate is a command that creates a new custom field in the account settings
Fields§
§json: Option<bool>Set output format to JSON
name: StringThe name of the custom field
object: StringThe object to create the custom field
object_type: StringThe object type to create the custom field [e.g. STATIC_SECRET,DYNAMIC_SECRET,ROTATED_SECRET]
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§
Trait Implementations§
Source§impl Clone for AccountCustomFieldCreate
impl Clone for AccountCustomFieldCreate
Source§fn clone(&self) -> AccountCustomFieldCreate
fn clone(&self) -> AccountCustomFieldCreate
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 AccountCustomFieldCreate
impl Debug for AccountCustomFieldCreate
Source§impl Default for AccountCustomFieldCreate
impl Default for AccountCustomFieldCreate
Source§fn default() -> AccountCustomFieldCreate
fn default() -> AccountCustomFieldCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountCustomFieldCreate
impl<'de> Deserialize<'de> for AccountCustomFieldCreate
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 AccountCustomFieldCreate
impl PartialEq for AccountCustomFieldCreate
Source§fn eq(&self, other: &AccountCustomFieldCreate) -> bool
fn eq(&self, other: &AccountCustomFieldCreate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountCustomFieldCreate
impl Serialize for AccountCustomFieldCreate
impl StructuralPartialEq for AccountCustomFieldCreate
Auto Trait Implementations§
impl Freeze for AccountCustomFieldCreate
impl RefUnwindSafe for AccountCustomFieldCreate
impl Send for AccountCustomFieldCreate
impl Sync for AccountCustomFieldCreate
impl Unpin for AccountCustomFieldCreate
impl UnsafeUnpin for AccountCustomFieldCreate
impl UnwindSafe for AccountCustomFieldCreate
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