pub struct PatchedBulkCustomFieldChoiceSetRequest {
pub id: i32,
pub name: Option<String>,
pub description: Option<String>,
pub base_choices: Option<Option<BaseChoices>>,
pub extra_choices: Option<Vec<Vec<Value>>>,
pub choice_colors: Option<ChoiceColors>,
pub order_alphabetically: Option<bool>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
}Expand description
PatchedBulkCustomFieldChoiceSetRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: i32§name: Option<String>§description: Option<String>§base_choices: Option<Option<BaseChoices>>IATA- IATA (Airport codes) *ISO_3166- ISO 3166 (Country codes) *UN_LOCODE- UN/LOCODE (Location codes)
extra_choices: Option<Vec<Vec<Value>>>§choice_colors: Option<ChoiceColors>§order_alphabetically: Option<bool>Choices are automatically ordered alphabetically
owner: Option<Option<Box<AsnRangeRequestOwner>>>Implementations§
Source§impl PatchedBulkCustomFieldChoiceSetRequest
impl PatchedBulkCustomFieldChoiceSetRequest
Sourcepub fn new(id: i32) -> PatchedBulkCustomFieldChoiceSetRequest
pub fn new(id: i32) -> PatchedBulkCustomFieldChoiceSetRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for PatchedBulkCustomFieldChoiceSetRequest
impl Clone for PatchedBulkCustomFieldChoiceSetRequest
Source§fn clone(&self) -> PatchedBulkCustomFieldChoiceSetRequest
fn clone(&self) -> PatchedBulkCustomFieldChoiceSetRequest
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 PatchedBulkCustomFieldChoiceSetRequest
impl Default for PatchedBulkCustomFieldChoiceSetRequest
Source§fn default() -> PatchedBulkCustomFieldChoiceSetRequest
fn default() -> PatchedBulkCustomFieldChoiceSetRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkCustomFieldChoiceSetRequest
impl<'de> Deserialize<'de> for PatchedBulkCustomFieldChoiceSetRequest
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
impl StructuralPartialEq for PatchedBulkCustomFieldChoiceSetRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkCustomFieldChoiceSetRequest
impl RefUnwindSafe for PatchedBulkCustomFieldChoiceSetRequest
impl Send for PatchedBulkCustomFieldChoiceSetRequest
impl Sync for PatchedBulkCustomFieldChoiceSetRequest
impl Unpin for PatchedBulkCustomFieldChoiceSetRequest
impl UnsafeUnpin for PatchedBulkCustomFieldChoiceSetRequest
impl UnwindSafe for PatchedBulkCustomFieldChoiceSetRequest
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