pub struct AllowedValues { /* private fields */ }
Implementations§
Source§impl AllowedValues
impl AllowedValues
pub fn new(values: Vec<Value>) -> AllowedValues
Trait Implementations§
Source§impl Validator for AllowedValues
impl Validator for AllowedValues
Auto Trait Implementations§
impl Freeze for AllowedValues
impl RefUnwindSafe for AllowedValues
impl Send for AllowedValues
impl Sync for AllowedValues
impl Unpin 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