Struct serde_intermediate::schema::SchemaTypeTuple
source · pub struct SchemaTypeTuple(pub Vec<SchemaTypeInstance>);
Tuple Fields§
§0: Vec<SchemaTypeInstance>
Implementations§
source§impl SchemaTypeTuple
impl SchemaTypeTuple
pub fn item(self, type_instance: impl Into<SchemaTypeInstance>) -> Self
Trait Implementations§
source§impl Clone for SchemaTypeTuple
impl Clone for SchemaTypeTuple
source§fn clone(&self) -> SchemaTypeTuple
fn clone(&self) -> SchemaTypeTuple
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 SchemaTypeTuple
impl Debug for SchemaTypeTuple
source§impl Default for SchemaTypeTuple
impl Default for SchemaTypeTuple
source§fn default() -> SchemaTypeTuple
fn default() -> SchemaTypeTuple
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SchemaTypeTuple
impl<'de> Deserialize<'de> for SchemaTypeTuple
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> FromIterator<TI> for SchemaTypeTuplewhere
TI: Into<SchemaTypeInstance>,
impl<TI> FromIterator<TI> for SchemaTypeTuplewhere TI: Into<SchemaTypeInstance>,
source§fn 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
source§impl PartialEq<SchemaTypeTuple> for SchemaTypeTuple
impl PartialEq<SchemaTypeTuple> for SchemaTypeTuple
source§fn eq(&self, other: &SchemaTypeTuple) -> bool
fn eq(&self, other: &SchemaTypeTuple) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
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