Struct schematools::codegen::jsonschema::types::WrapperType
source · pub struct WrapperType {
pub name: String,
pub models: Vec<FlatModel>,
pub kind: WrapperTypeKind,
pub strategy: WrapperStrategy,
}Fields§
§name: String§models: Vec<FlatModel>§kind: WrapperTypeKind§strategy: WrapperStrategyImplementations§
Trait Implementations§
source§impl Clone for WrapperType
impl Clone for WrapperType
source§fn clone(&self) -> WrapperType
fn clone(&self) -> WrapperType
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 WrapperType
impl Debug for WrapperType
source§impl Default for WrapperType
impl Default for WrapperType
source§fn default() -> WrapperType
fn default() -> WrapperType
Returns the “default value” for a type. Read more
source§impl PartialEq for WrapperType
impl PartialEq for WrapperType
source§fn eq(&self, other: &WrapperType) -> bool
fn eq(&self, other: &WrapperType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WrapperType
impl Serialize for WrapperType
impl Eq for WrapperType
impl StructuralEq for WrapperType
impl StructuralPartialEq for WrapperType
Auto Trait Implementations§
impl RefUnwindSafe for WrapperType
impl Send for WrapperType
impl Sync for WrapperType
impl Unpin for WrapperType
impl UnwindSafe for WrapperType
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.