Struct google_discovery1::JsonSchemaVariantMap
source · pub struct JsonSchemaVariantMap {
pub type_value: Option<String>,
pub ref_: Option<String>,
}
Expand description
The map of discriminant value to schema to use for parsing..
This type is not used in any activity, and only used as part of another schema.
Fields§
§type_value: Option<String>
no description provided
ref_: Option<String>
no description provided
Trait Implementations§
source§impl Clone for JsonSchemaVariantMap
impl Clone for JsonSchemaVariantMap
source§fn clone(&self) -> JsonSchemaVariantMap
fn clone(&self) -> JsonSchemaVariantMap
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 JsonSchemaVariantMap
impl Debug for JsonSchemaVariantMap
source§impl Default for JsonSchemaVariantMap
impl Default for JsonSchemaVariantMap
source§fn default() -> JsonSchemaVariantMap
fn default() -> JsonSchemaVariantMap
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JsonSchemaVariantMap
impl<'de> Deserialize<'de> for JsonSchemaVariantMap
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 Serialize for JsonSchemaVariantMap
impl Serialize for JsonSchemaVariantMap
impl NestedType for JsonSchemaVariantMap
impl Part for JsonSchemaVariantMap
Auto Trait Implementations§
impl RefUnwindSafe for JsonSchemaVariantMap
impl Send for JsonSchemaVariantMap
impl Sync for JsonSchemaVariantMap
impl Unpin for JsonSchemaVariantMap
impl UnwindSafe for JsonSchemaVariantMap
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