pub enum ModifyOperation {
Add = 0,
Delete = 1,
Replace = 2,
Increment = 3,
}Variants§
Trait Implementations§
Source§impl Clone for ModifyOperation
impl Clone for ModifyOperation
Source§fn clone(&self) -> ModifyOperation
fn clone(&self) -> ModifyOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModifyOperation
Source§impl Debug for ModifyOperation
impl Debug for ModifyOperation
impl Eq for ModifyOperation
Source§impl PartialEq for ModifyOperation
impl PartialEq for ModifyOperation
impl StructuralPartialEq for ModifyOperation
Source§impl TryFrom<i64> for ModifyOperation
impl TryFrom<i64> for ModifyOperation
Source§type Error = ProtoError
type Error = ProtoError
The type returned in the event of a conversion error.
Source§fn try_from(
value: i64,
) -> Result<ModifyOperation, <ModifyOperation as TryFrom<i64>>::Error>
fn try_from( value: i64, ) -> Result<ModifyOperation, <ModifyOperation as TryFrom<i64>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ModifyOperation
impl Freeze for ModifyOperation
impl Move for ModifyOperation
impl RefUnwindSafe for ModifyOperation
impl Send for ModifyOperation
impl Sync for ModifyOperation
impl Unpin for ModifyOperation
impl UnsafeUnpin for ModifyOperation
impl UnwindSafe for ModifyOperation
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