pub struct DeleteOperationsMutation {
pub operation_ids: Vec<u64>,
}Expand description
Deletes mutations of an entity that have an operation id specified in the given list. This mutation is used for index management purpose only since the mutations are not actually deleted from the chain. Since the chain indices are built in a semi-versioned way, this actually delete the mutations from the indices.
Fields§
§operation_ids: Vec<u64>Trait Implementations§
Source§impl Clone for DeleteOperationsMutation
impl Clone for DeleteOperationsMutation
Source§fn clone(&self) -> DeleteOperationsMutation
fn clone(&self) -> DeleteOperationsMutation
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 moreSource§impl Debug for DeleteOperationsMutation
impl Debug for DeleteOperationsMutation
Source§impl Default for DeleteOperationsMutation
impl Default for DeleteOperationsMutation
Source§impl Message for DeleteOperationsMutation
impl Message for DeleteOperationsMutation
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for DeleteOperationsMutation
impl PartialEq for DeleteOperationsMutation
Source§fn eq(&self, other: &DeleteOperationsMutation) -> bool
fn eq(&self, other: &DeleteOperationsMutation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteOperationsMutation
Auto Trait Implementations§
impl Freeze for DeleteOperationsMutation
impl RefUnwindSafe for DeleteOperationsMutation
impl Send for DeleteOperationsMutation
impl Sync for DeleteOperationsMutation
impl Unpin for DeleteOperationsMutation
impl UnsafeUnpin for DeleteOperationsMutation
impl UnwindSafe for DeleteOperationsMutation
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