pub enum MappedChange {
Upsert {
element: Element,
operation: OperationType,
},
Delete {
metadata: ElementMetadata,
},
}Expand description
A mapped change result representing the operation to emit for an item.
Variants§
Upsert
Insert or Update — carries the full element.
Delete
Delete — only metadata (id + labels) is needed.
Fields
§
metadata: ElementMetadataAuto Trait Implementations§
impl Freeze for MappedChange
impl RefUnwindSafe for MappedChange
impl Send for MappedChange
impl Sync for MappedChange
impl Unpin for MappedChange
impl UnsafeUnpin for MappedChange
impl UnwindSafe for MappedChange
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