pub enum PropertyKey {
Identifier {
name: String,
},
Literal {
value: Value,
},
Other,
}Expand description
Property key — either an identifier or a string literal (for quoted keys).
Variants§
Identifier
Literal
Quoted key — Flow parser emits Literal (not StringLiteral) for property keys.
Other
Implementations§
Trait Implementations§
Source§impl Clone for PropertyKey
impl Clone for PropertyKey
Source§fn clone(&self) -> PropertyKey
fn clone(&self) -> PropertyKey
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 PropertyKey
impl Debug for PropertyKey
Source§impl<'de> Deserialize<'de> for PropertyKey
impl<'de> Deserialize<'de> for PropertyKey
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
Auto Trait Implementations§
impl Freeze for PropertyKey
impl RefUnwindSafe for PropertyKey
impl Send for PropertyKey
impl Sync for PropertyKey
impl Unpin for PropertyKey
impl UnsafeUnpin for PropertyKey
impl UnwindSafe for PropertyKey
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