pub struct SchemaTypeArrayOrSlice {
pub type_instance: SchemaTypeInstance,
pub count: usize,
}
Fields§
§type_instance: SchemaTypeInstance
§count: usize
Implementations§
Source§impl SchemaTypeArrayOrSlice
impl SchemaTypeArrayOrSlice
pub fn new(type_instance: impl Into<SchemaTypeInstance>, count: usize) -> Self
Trait Implementations§
Source§impl Clone for SchemaTypeArrayOrSlice
impl Clone for SchemaTypeArrayOrSlice
Source§fn clone(&self) -> SchemaTypeArrayOrSlice
fn clone(&self) -> SchemaTypeArrayOrSlice
Returns a copy 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 SchemaTypeArrayOrSlice
impl Debug for SchemaTypeArrayOrSlice
Source§impl<'de> Deserialize<'de> for SchemaTypeArrayOrSlice
impl<'de> Deserialize<'de> for SchemaTypeArrayOrSlice
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<TI> From<(TI, usize)> for SchemaTypeArrayOrSlicewhere
TI: Into<SchemaTypeInstance>,
impl<TI> From<(TI, usize)> for SchemaTypeArrayOrSlicewhere
TI: Into<SchemaTypeInstance>,
Source§impl PartialEq for SchemaTypeArrayOrSlice
impl PartialEq for SchemaTypeArrayOrSlice
Source§impl Serialize for SchemaTypeArrayOrSlice
impl Serialize for SchemaTypeArrayOrSlice
impl StructuralPartialEq for SchemaTypeArrayOrSlice
Auto Trait Implementations§
impl Freeze for SchemaTypeArrayOrSlice
impl RefUnwindSafe for SchemaTypeArrayOrSlice
impl Send for SchemaTypeArrayOrSlice
impl Sync for SchemaTypeArrayOrSlice
impl Unpin for SchemaTypeArrayOrSlice
impl UnwindSafe for SchemaTypeArrayOrSlice
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