pub struct ExtrasCustomFieldChoiceSetsCreateRequest {
pub name: String,
pub description: Option<String>,
pub base_choices: Option<Option<BaseChoices>>,
pub extra_choices: Vec<Vec<Value>>,
pub choice_colors: Option<ChoiceColors>,
pub order_alphabetically: Option<bool>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
}Fields§
§name: String§description: Option<String>§base_choices: Option<Option<BaseChoices>>Base set of predefined choices (optional) * IATA - IATA (Airport codes) * ISO_3166 - ISO 3166 (Country codes) * UN_LOCODE - UN/LOCODE (Location codes)
extra_choices: Vec<Vec<Value>>§choice_colors: Option<ChoiceColors>§order_alphabetically: Option<bool>Choices are automatically ordered alphabetically
owner: Option<Option<Box<AsnRangeRequestOwner>>>Implementations§
Trait Implementations§
Source§impl Clone for ExtrasCustomFieldChoiceSetsCreateRequest
impl Clone for ExtrasCustomFieldChoiceSetsCreateRequest
Source§fn clone(&self) -> ExtrasCustomFieldChoiceSetsCreateRequest
fn clone(&self) -> ExtrasCustomFieldChoiceSetsCreateRequest
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 Default for ExtrasCustomFieldChoiceSetsCreateRequest
impl Default for ExtrasCustomFieldChoiceSetsCreateRequest
Source§fn default() -> ExtrasCustomFieldChoiceSetsCreateRequest
fn default() -> ExtrasCustomFieldChoiceSetsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtrasCustomFieldChoiceSetsCreateRequest
impl<'de> Deserialize<'de> for ExtrasCustomFieldChoiceSetsCreateRequest
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 ExtrasCustomFieldChoiceSetsCreateRequest
impl PartialEq for ExtrasCustomFieldChoiceSetsCreateRequest
Source§fn eq(&self, other: &ExtrasCustomFieldChoiceSetsCreateRequest) -> bool
fn eq(&self, other: &ExtrasCustomFieldChoiceSetsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtrasCustomFieldChoiceSetsCreateRequest
Auto Trait Implementations§
impl Freeze for ExtrasCustomFieldChoiceSetsCreateRequest
impl RefUnwindSafe for ExtrasCustomFieldChoiceSetsCreateRequest
impl Send for ExtrasCustomFieldChoiceSetsCreateRequest
impl Sync for ExtrasCustomFieldChoiceSetsCreateRequest
impl Unpin for ExtrasCustomFieldChoiceSetsCreateRequest
impl UnsafeUnpin for ExtrasCustomFieldChoiceSetsCreateRequest
impl UnwindSafe for ExtrasCustomFieldChoiceSetsCreateRequest
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