pub struct KeyValueArrayElement {
pub key: Box<Expression>,
pub double_arrow: Span,
pub value: Box<Expression>,
}Expand description
Fields§
§key: Box<Expression>§double_arrow: Span§value: Box<Expression>Trait Implementations§
Source§impl Clone for KeyValueArrayElement
impl Clone for KeyValueArrayElement
Source§fn clone(&self) -> KeyValueArrayElement
fn clone(&self) -> KeyValueArrayElement
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 KeyValueArrayElement
impl Debug for KeyValueArrayElement
Source§impl<'de> Deserialize<'de> for KeyValueArrayElement
impl<'de> Deserialize<'de> for KeyValueArrayElement
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 HasSpan for KeyValueArrayElement
impl HasSpan for KeyValueArrayElement
Source§impl Hash for KeyValueArrayElement
impl Hash for KeyValueArrayElement
Source§impl Ord for KeyValueArrayElement
impl Ord for KeyValueArrayElement
Source§fn cmp(&self, other: &KeyValueArrayElement) -> Ordering
fn cmp(&self, other: &KeyValueArrayElement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeyValueArrayElement
impl PartialEq for KeyValueArrayElement
Source§impl PartialOrd for KeyValueArrayElement
impl PartialOrd for KeyValueArrayElement
Source§impl Serialize for KeyValueArrayElement
impl Serialize for KeyValueArrayElement
impl Eq for KeyValueArrayElement
impl StructuralPartialEq for KeyValueArrayElement
Auto Trait Implementations§
impl Freeze for KeyValueArrayElement
impl RefUnwindSafe for KeyValueArrayElement
impl Send for KeyValueArrayElement
impl Sync for KeyValueArrayElement
impl Unpin for KeyValueArrayElement
impl UnwindSafe for KeyValueArrayElement
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