pub struct ArrayKeys {
pub items: Box<Items, Global>,
pub min_items: Option<usize>,
pub max_items: Option<usize>,
pub unique_items: Option<bool>,
}Expand description
Keywords for an array type property.
Fields
items: Box<Items, Global>min_items: Option<usize>max_items: Option<usize>unique_items: Option<bool>Trait Implementations
sourceimpl Serialize for ArrayKeys
impl Serialize for ArrayKeys
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArrayKeys
impl Send for ArrayKeys
impl Sync for ArrayKeys
impl Unpin for ArrayKeys
impl UnwindSafe for ArrayKeys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more