#[repr(i32)]pub enum OperationType {
Create = 0,
Update = 1,
Delete = 2,
Unknown(i32),
}Expand description
Operation type for wire field t.
Variants§
Create = 0
Full snapshot/create (replace current object state for UUID).
Update = 1
Partial update (merge p into existing properties).
Delete = 2
Deletion event.
Unknown(i32)
Unknown operation value preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
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 OperationType
impl Debug for OperationType
Source§impl Default for OperationType
impl Default for OperationType
Source§impl<'de> Deserialize<'de> for OperationType
impl<'de> Deserialize<'de> for OperationType
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 Display for OperationType
impl Display for OperationType
Source§impl From<OperationType> for i32
impl From<OperationType> for i32
Source§fn from(enum_value: OperationType) -> Self
fn from(enum_value: OperationType) -> Self
Converts to this type from the input type.
Source§impl From<i32> for OperationType
impl From<i32> for OperationType
Source§impl FromPrimitive for OperationType
impl FromPrimitive for OperationType
Source§impl FromStr for OperationType
impl FromStr for OperationType
Source§impl PartialEq for OperationType
impl PartialEq for OperationType
Source§impl Serialize for OperationType
impl Serialize for OperationType
Source§impl TryFrom<&str> for OperationType
impl TryFrom<&str> for OperationType
impl Copy for OperationType
impl Eq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnsafeUnpin for OperationType
impl UnwindSafe for OperationType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.