pub struct OptionsValue {
pub description: Option<String>,
pub values: Vec<String>,
}Expand description
OptionsValue
Fields§
§description: Option<String>§values: Vec<String>Implementations§
Source§impl OptionsValue
impl OptionsValue
pub fn builder() -> OptionsValue
Trait Implementations§
Source§impl Clone for OptionsValue
impl Clone for OptionsValue
Source§fn clone(&self) -> OptionsValue
fn clone(&self) -> OptionsValue
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 OptionsValue
impl Debug for OptionsValue
Source§impl<'de> Deserialize<'de> for OptionsValue
impl<'de> Deserialize<'de> for OptionsValue
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OptionsValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OptionsValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OptionsValue> for OptionsValue
impl From<OptionsValue> for OptionsValue
Source§fn from(value: OptionsValue) -> OptionsValue
fn from(value: OptionsValue) -> OptionsValue
Converts to this type from the input type.
Source§impl PartialEq for OptionsValue
impl PartialEq for OptionsValue
Source§impl Serialize for OptionsValue
impl Serialize for OptionsValue
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for OptionsValue
Source§impl TryFrom<OptionsValue> for OptionsValue
impl TryFrom<OptionsValue> for OptionsValue
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OptionsValue) -> Result<OptionsValue, ConversionError>
fn try_from(value: OptionsValue) -> Result<OptionsValue, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for OptionsValue
impl Freeze for OptionsValue
impl Move for OptionsValue
impl RefUnwindSafe for OptionsValue
impl Send for OptionsValuewhere
RawVecInner: Send,
impl Sync for OptionsValuewhere
RawVecInner: Sync,
impl Unpin for OptionsValue
impl UnsafeUnpin for OptionsValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OptionsValuewhere
RawVecInner: UnwindSafe,
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