Struct serde_intermediate::schema::SchemaTypeTuple
source · [−]pub struct SchemaTypeTuple(pub Vec<SchemaTypeInstance>);Tuple Fields
0: Vec<SchemaTypeInstance>Implementations
sourceimpl SchemaTypeTuple
impl SchemaTypeTuple
pub fn item(self, type_instance: impl Into<SchemaTypeInstance>) -> Self
Trait Implementations
sourceimpl Clone for SchemaTypeTuple
impl Clone for SchemaTypeTuple
sourcefn clone(&self) -> SchemaTypeTuple
fn clone(&self) -> SchemaTypeTuple
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 SchemaTypeTuple
impl Debug for SchemaTypeTuple
sourceimpl Default for SchemaTypeTuple
impl Default for SchemaTypeTuple
sourcefn default() -> SchemaTypeTuple
fn default() -> SchemaTypeTuple
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SchemaTypeTuple
impl<'de> Deserialize<'de> for SchemaTypeTuple
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> FromIterator<TI> for SchemaTypeTuplewhere
TI: Into<SchemaTypeInstance>,
impl<TI> FromIterator<TI> for SchemaTypeTuplewhere
TI: Into<SchemaTypeInstance>,
sourcefn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = TI>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = TI>,
Creates a value from an iterator. Read more
sourceimpl PartialEq<SchemaTypeTuple> for SchemaTypeTuple
impl PartialEq<SchemaTypeTuple> for SchemaTypeTuple
sourcefn eq(&self, other: &SchemaTypeTuple) -> bool
fn eq(&self, other: &SchemaTypeTuple) -> bool
sourceimpl Serialize for SchemaTypeTuple
impl Serialize for SchemaTypeTuple
impl StructuralPartialEq for SchemaTypeTuple
Auto Trait Implementations
impl RefUnwindSafe for SchemaTypeTuple
impl Send for SchemaTypeTuple
impl Sync for SchemaTypeTuple
impl Unpin for SchemaTypeTuple
impl UnwindSafe for SchemaTypeTuple
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