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