pub struct KeyedProperty {
pub ty: Union,
pub optional: bool,
}Fields§
§ty: Union§optional: boolTrait Implementations§
Source§impl Clone for KeyedProperty
impl Clone for KeyedProperty
Source§fn clone(&self) -> KeyedProperty
fn clone(&self) -> KeyedProperty
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 KeyedProperty
impl Debug for KeyedProperty
Source§impl<'de> Deserialize<'de> for KeyedProperty
impl<'de> Deserialize<'de> for KeyedProperty
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 PartialEq for KeyedProperty
impl PartialEq for KeyedProperty
Source§impl Serialize for KeyedProperty
impl Serialize for KeyedProperty
impl StructuralPartialEq for KeyedProperty
Auto Trait Implementations§
impl Freeze for KeyedProperty
impl RefUnwindSafe for KeyedProperty
impl Send for KeyedProperty
impl Sync for KeyedProperty
impl Unpin for KeyedProperty
impl UnsafeUnpin for KeyedProperty
impl UnwindSafe for KeyedProperty
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