pub struct AllowedValues {
pub values: Vec<String>,
pub allow_empty: bool,
pub case_insensitive: bool,
}Fields§
§values: Vec<String>§allow_empty: bool§case_insensitive: boolImplementations§
Trait Implementations§
Source§impl Clone for AllowedValues
impl Clone for AllowedValues
Source§fn clone(&self) -> AllowedValues
fn clone(&self) -> AllowedValues
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 AllowedValues
impl Debug for AllowedValues
Source§impl<'de> Deserialize<'de> for AllowedValues
impl<'de> Deserialize<'de> for AllowedValues
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 AllowedValues
impl RefUnwindSafe for AllowedValues
impl Send for AllowedValues
impl Sync for AllowedValues
impl Unpin for AllowedValues
impl UnsafeUnpin for AllowedValues
impl UnwindSafe for AllowedValues
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