pub struct TupleKeys {
pub items: Vec<Type>,
}Expand description
Keywords for a tuple type (a kind of array type) property.
Tuple type is a kind of array type, which has ordered items.
Tuples and tuple structs are correspond to TupleKeys, additional properties are not allowed.
Fields§
§items: Vec<Type>Trait Implementations§
Source§impl Serialize for TupleKeys
impl Serialize for TupleKeys
Source§fn 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 Freeze for TupleKeys
impl RefUnwindSafe for TupleKeys
impl Send for TupleKeys
impl Sync for TupleKeys
impl Unpin for TupleKeys
impl UnwindSafe for TupleKeys
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