Struct serde_intermediate::schema::SchemaTypeArrayOrSlice
source · [−]pub struct SchemaTypeArrayOrSlice {
pub type_instance: SchemaTypeInstance,
pub count: usize,
}
Fields
type_instance: SchemaTypeInstance
count: usize
Implementations
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 more
sourceimpl 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 SchemaTypeArrayOrSlice where
TI: Into<SchemaTypeInstance>,
impl<TI> From<(TI, usize)> for SchemaTypeArrayOrSlice where
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SchemaTypeArrayOrSlice) -> bool
fn ne(&self, other: &SchemaTypeArrayOrSlice) -> bool
This method tests for !=
.
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 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