pub struct ValidValues {
pub items: Vec<Value>,
}
Expand description
Valid values - used to represent an enum
Fields§
§items: Vec<Value>
Vector of possible values
Trait Implementations§
Source§impl Clone for ValidValues
impl Clone for ValidValues
Source§fn clone(&self) -> ValidValues
fn clone(&self) -> ValidValues
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ValidValues
impl Debug for ValidValues
Source§impl<'de> Deserialize<'de> for ValidValues
impl<'de> Deserialize<'de> for ValidValues
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 ValidValues
impl PartialEq for ValidValues
Source§impl Serialize for ValidValues
impl Serialize for ValidValues
impl Eq for ValidValues
impl StructuralPartialEq for ValidValues
Auto Trait Implementations§
impl Freeze for ValidValues
impl RefUnwindSafe for ValidValues
impl Send for ValidValues
impl Sync for ValidValues
impl Unpin for ValidValues
impl UnwindSafe for ValidValues
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