Struct polywrap_plugin::PropertyDefinition
source · pub struct PropertyDefinition {
pub array: Option<Box<ArrayDefinition>>,
pub comment: Option<String>,
pub enum_: Option<Value>,
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>>,
}Fields§
§array: Option<Box<ArrayDefinition>>§comment: Option<String>§enum_: Option<Value>§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>>Trait Implementations§
source§impl Clone for PropertyDefinition
impl Clone for PropertyDefinition
source§fn clone(&self) -> PropertyDefinition
fn clone(&self) -> PropertyDefinition
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 PropertyDefinition
impl Debug for PropertyDefinition
source§impl<'de> Deserialize<'de> for PropertyDefinition
impl<'de> Deserialize<'de> for PropertyDefinition
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PropertyDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PropertyDefinition, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PropertyDefinition
impl PartialEq for PropertyDefinition
source§fn eq(&self, other: &PropertyDefinition) -> bool
fn eq(&self, other: &PropertyDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PropertyDefinition
impl Serialize for PropertyDefinition
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 PropertyDefinition
Auto Trait Implementations§
impl RefUnwindSafe for PropertyDefinition
impl Send for PropertyDefinition
impl Sync for PropertyDefinition
impl Unpin for PropertyDefinition
impl UnwindSafe for PropertyDefinition
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