Struct serde_intermediate::schema::SchemaTypeArrayOrSlice
source · [−]pub struct SchemaTypeArrayOrSlice {
pub type_instance: SchemaTypeInstance,
pub count: usize,
}Fields
type_instance: SchemaTypeInstancecount: usizeImplementations
sourceimpl SchemaTypeArrayOrSlice
impl SchemaTypeArrayOrSlice
pub fn new(type_instance: impl Into<SchemaTypeInstance>, count: usize) -> Self
Trait Implementations
sourceimpl Clone for SchemaTypeArrayOrSlice
impl Clone for SchemaTypeArrayOrSlice
sourcefn clone(&self) -> SchemaTypeArrayOrSlice
fn clone(&self) -> SchemaTypeArrayOrSlice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SchemaTypeArrayOrSlice
impl Debug for SchemaTypeArrayOrSlice
sourceimpl<'de> Deserialize<'de> for SchemaTypeArrayOrSlice
impl<'de> Deserialize<'de> for SchemaTypeArrayOrSlice
sourcefn 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
sourceimpl<TI> From<(TI, usize)> for SchemaTypeArrayOrSlicewhere
TI: Into<SchemaTypeInstance>,
impl<TI> From<(TI, usize)> for SchemaTypeArrayOrSlicewhere
TI: Into<SchemaTypeInstance>,
sourceimpl PartialEq<SchemaTypeArrayOrSlice> for SchemaTypeArrayOrSlice
impl PartialEq<SchemaTypeArrayOrSlice> for SchemaTypeArrayOrSlice
sourcefn eq(&self, other: &SchemaTypeArrayOrSlice) -> bool
fn eq(&self, other: &SchemaTypeArrayOrSlice) -> bool
sourceimpl Serialize for SchemaTypeArrayOrSlice
impl Serialize for SchemaTypeArrayOrSlice
impl StructuralPartialEq for SchemaTypeArrayOrSlice
Auto Trait Implementations
impl RefUnwindSafe for SchemaTypeArrayOrSlice
impl Send for SchemaTypeArrayOrSlice
impl Sync for SchemaTypeArrayOrSlice
impl Unpin for SchemaTypeArrayOrSlice
impl UnwindSafe for SchemaTypeArrayOrSlice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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