Struct radarr_api_rs::models::select_option::SelectOption
source · pub struct SelectOption {
pub value: Option<i32>,
pub name: Option<Option<String>>,
pub order: Option<i32>,
pub hint: Option<Option<String>>,
pub divider_after: Option<bool>,
}
Fields§
§value: Option<i32>
§name: Option<Option<String>>
§order: Option<i32>
§hint: Option<Option<String>>
§divider_after: Option<bool>
Implementations§
source§impl SelectOption
impl SelectOption
pub fn new() -> SelectOption
Trait Implementations§
source§impl Clone for SelectOption
impl Clone for SelectOption
source§fn clone(&self) -> SelectOption
fn clone(&self) -> SelectOption
Returns a copy of the value. Read more
1.0.0 · 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 SelectOption
impl Debug for SelectOption
source§impl<'de> Deserialize<'de> for SelectOption
impl<'de> Deserialize<'de> for SelectOption
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 SelectOption
impl PartialEq for SelectOption
source§fn eq(&self, other: &SelectOption) -> bool
fn eq(&self, other: &SelectOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SelectOption
impl Serialize for SelectOption
impl StructuralPartialEq for SelectOption
Auto Trait Implementations§
impl RefUnwindSafe for SelectOption
impl Send for SelectOption
impl Sync for SelectOption
impl Unpin for SelectOption
impl UnwindSafe for SelectOption
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