Struct polywrap_plugin::MapDefinition
source · pub struct MapDefinition {Show 13 fields
pub array: Option<Box<ArrayDefinition>>,
pub comment: Option<String>,
pub enum_: Option<Value>,
pub key: Option<Box<MapKeyDefinition>>,
pub kind: f64,
pub map: Option<Box<MapDefinition>>,
pub name: Option<String>,
pub object: Option<Box<ObjectRef>>,
pub required: Option<bool>,
pub scalar: Option<Box<ScalarDefinition>>,
pub type_: String,
pub unresolved_object_or_enum: Option<Box<UnresolvedObjectOrEnumRef>>,
pub value: Option<Box<GenericDefinition>>,
}Fields§
§array: Option<Box<ArrayDefinition>>§comment: Option<String>§enum_: Option<Value>§key: Option<Box<MapKeyDefinition>>§kind: f64§map: Option<Box<MapDefinition>>§name: Option<String>§object: Option<Box<ObjectRef>>§required: Option<bool>§scalar: Option<Box<ScalarDefinition>>§type_: String§unresolved_object_or_enum: Option<Box<UnresolvedObjectOrEnumRef>>§value: Option<Box<GenericDefinition>>Trait Implementations§
source§impl Clone for MapDefinition
impl Clone for MapDefinition
source§fn clone(&self) -> MapDefinition
fn clone(&self) -> MapDefinition
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 MapDefinition
impl Debug for MapDefinition
source§impl<'de> Deserialize<'de> for MapDefinition
impl<'de> Deserialize<'de> for MapDefinition
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MapDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MapDefinition, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MapDefinition
impl PartialEq for MapDefinition
source§fn eq(&self, other: &MapDefinition) -> bool
fn eq(&self, other: &MapDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MapDefinition
impl Serialize for MapDefinition
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MapDefinition
Auto Trait Implementations§
impl RefUnwindSafe for MapDefinition
impl Send for MapDefinition
impl Sync for MapDefinition
impl Unpin for MapDefinition
impl UnwindSafe for MapDefinition
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