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 duplicate 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§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 Freeze for PropertyDefinition
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