pub struct OperationBase {
pub routing: Option<String>,
pub if_primary_term: Option<u32>,
pub index: Option<String>,
pub if_seq_no: Option<u32>,
pub id: Option<String>,
pub version: Option<u32>,
pub version_type: Option<String>,
}Fields§
§routing: Option<String>§if_primary_term: Option<u32>§index: Option<String>§if_seq_no: Option<u32>§id: Option<String>§version: Option<u32>§version_type: Option<String>Implementations§
Source§impl OperationBase
impl OperationBase
pub fn new() -> OperationBase
Trait Implementations§
Source§impl Clone for OperationBase
impl Clone for OperationBase
Source§fn clone(&self) -> OperationBase
fn clone(&self) -> OperationBase
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 OperationBase
impl Debug for OperationBase
Source§impl Default for OperationBase
impl Default for OperationBase
Source§fn default() -> OperationBase
fn default() -> OperationBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationBase
impl<'de> Deserialize<'de> for OperationBase
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 PartialEq for OperationBase
impl PartialEq for OperationBase
Source§fn eq(&self, other: &OperationBase) -> bool
fn eq(&self, other: &OperationBase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OperationBase
impl Serialize for OperationBase
impl StructuralPartialEq for OperationBase
Auto Trait Implementations§
impl Freeze for OperationBase
impl RefUnwindSafe for OperationBase
impl Send for OperationBase
impl Sync for OperationBase
impl Unpin for OperationBase
impl UnsafeUnpin for OperationBase
impl UnwindSafe for OperationBase
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