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