pub struct ChoiceOptionView {
pub name: String,
pub label: Option<String>,
pub env: Vec<EnvVarView>,
}Expand description
One alternative within a ChoiceView.
Fields§
§name: String§label: Option<String>§env: Vec<EnvVarView>Trait Implementations§
Source§impl Clone for ChoiceOptionView
impl Clone for ChoiceOptionView
Source§fn clone(&self) -> ChoiceOptionView
fn clone(&self) -> ChoiceOptionView
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 ChoiceOptionView
impl Debug for ChoiceOptionView
Source§impl<'de> Deserialize<'de> for ChoiceOptionView
impl<'de> Deserialize<'de> for ChoiceOptionView
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
Auto Trait Implementations§
impl Freeze for ChoiceOptionView
impl RefUnwindSafe for ChoiceOptionView
impl Send for ChoiceOptionView
impl Sync for ChoiceOptionView
impl Unpin for ChoiceOptionView
impl UnsafeUnpin for ChoiceOptionView
impl UnwindSafe for ChoiceOptionView
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