pub struct EnumOptionInsertRequest {
pub enum_option: String,
pub before_enum_option: Option<String>,
pub after_enum_option: Option<String>,
}
Fields
enum_option: String
The gid of the enum option to relocate.
before_enum_option: 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.
after_enum_option: 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.
Implementations
sourceimpl EnumOptionInsertRequest
impl EnumOptionInsertRequest
pub fn new(enum_option: String) -> EnumOptionInsertRequest
Trait Implementations
sourceimpl Clone for EnumOptionInsertRequest
impl Clone for EnumOptionInsertRequest
sourcefn clone(&self) -> EnumOptionInsertRequest
fn clone(&self) -> EnumOptionInsertRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EnumOptionInsertRequest
impl Debug for EnumOptionInsertRequest
sourceimpl<'de> Deserialize<'de> for EnumOptionInsertRequest
impl<'de> Deserialize<'de> for EnumOptionInsertRequest
sourcefn 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
sourceimpl PartialEq<EnumOptionInsertRequest> for EnumOptionInsertRequest
impl PartialEq<EnumOptionInsertRequest> for EnumOptionInsertRequest
sourcefn eq(&self, other: &EnumOptionInsertRequest) -> bool
fn eq(&self, other: &EnumOptionInsertRequest) -> bool
sourceimpl Serialize for EnumOptionInsertRequest
impl Serialize for EnumOptionInsertRequest
impl StructuralPartialEq for EnumOptionInsertRequest
Auto Trait Implementations
impl RefUnwindSafe for EnumOptionInsertRequest
impl Send for EnumOptionInsertRequest
impl Sync for EnumOptionInsertRequest
impl Unpin for EnumOptionInsertRequest
impl UnwindSafe for EnumOptionInsertRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more