pub struct EnumOptionRequest {
pub enum_option_base: EnumOptionBase,
pub insert_after: Option<String>,
pub insert_before: Option<String>,
}Fields§
§enum_option_base: EnumOptionBase§insert_after: Option<String>An existing enum option within this custom field after which the new enum option should be inserted. Cannot be provided together with before_enum_option.
insert_before: Option<String>An existing enum option within this custom field before which the new enum option should be inserted. Cannot be provided together with after_enum_option.
Trait Implementations§
Source§impl Clone for EnumOptionRequest
impl Clone for EnumOptionRequest
Source§fn clone(&self) -> EnumOptionRequest
fn clone(&self) -> EnumOptionRequest
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 EnumOptionRequest
impl Debug for EnumOptionRequest
Source§impl Default for EnumOptionRequest
impl Default for EnumOptionRequest
Source§fn default() -> EnumOptionRequest
fn default() -> EnumOptionRequest
Returns the “default value” for a type. Read more
Source§impl Deref for EnumOptionRequest
impl Deref for EnumOptionRequest
Source§impl DerefMut for EnumOptionRequest
impl DerefMut for EnumOptionRequest
Source§impl<'de> Deserialize<'de> for EnumOptionRequest
impl<'de> Deserialize<'de> for EnumOptionRequest
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 Display for EnumOptionRequest
impl Display for EnumOptionRequest
Auto Trait Implementations§
impl Freeze for EnumOptionRequest
impl RefUnwindSafe for EnumOptionRequest
impl Send for EnumOptionRequest
impl Sync for EnumOptionRequest
impl Unpin for EnumOptionRequest
impl UnsafeUnpin for EnumOptionRequest
impl UnwindSafe for EnumOptionRequest
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