#[non_exhaustive]pub enum SetItemKind {
Property {
target: Expr,
value: Expr,
},
ReplaceProperties {
target: Name,
value: Expr,
},
MergeProperties {
target: Name,
value: Expr,
},
Labels {
target: Name,
labels: LabelExpression,
},
}Expand description
The form of an assignment.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SetItemKind
impl Clone for SetItemKind
Source§impl Debug for SetItemKind
impl Debug for SetItemKind
impl Eq for SetItemKind
Source§impl Hash for SetItemKind
impl Hash for SetItemKind
Source§impl PartialEq for SetItemKind
impl PartialEq for SetItemKind
impl StructuralPartialEq for SetItemKind
Auto Trait Implementations§
impl Freeze for SetItemKind
impl RefUnwindSafe for SetItemKind
impl Send for SetItemKind
impl Sync for SetItemKind
impl Unpin for SetItemKind
impl UnsafeUnpin for SetItemKind
impl UnwindSafe for SetItemKind
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