pub struct EnumValues(/* private fields */);
Expand description
https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.20
The value of this keyword MUST be an array. This array SHOULD have at least one element. Elements in the array SHOULD be unique. Elements in the array MAY be of any type, including null.
Implementations§
Source§impl EnumValues
impl EnumValues
pub fn from_yaml_array(array: YamlArray) -> Result<Self>
Trait Implementations§
Source§impl Clone for EnumValues
impl Clone for EnumValues
Source§fn clone(&self) -> EnumValues
fn clone(&self) -> EnumValues
Returns a duplicate 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 EnumValues
impl Debug for EnumValues
Source§impl Default for EnumValues
impl Default for EnumValues
Source§fn default() -> EnumValues
fn default() -> EnumValues
Returns the “default value” for a type. Read more
Source§impl IntoIterator for EnumValues
impl IntoIterator for EnumValues
Auto Trait Implementations§
impl Freeze for EnumValues
impl RefUnwindSafe for EnumValues
impl Send for EnumValues
impl Sync for EnumValues
impl Unpin for EnumValues
impl UnwindSafe for EnumValues
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