pub struct IndexResponse {
pub index: String,
pub id: String,
pub version: i64,
pub result: String,
pub shards: Option<ShardStatistics>,
pub seq_no: i64,
pub primary_term: i64,
}Fields§
§index: String§id: String§version: i64§result: String§shards: Option<ShardStatistics>§seq_no: i64§primary_term: i64Trait Implementations§
Source§impl Clone for IndexResponse
impl Clone for IndexResponse
Source§fn clone(&self) -> IndexResponse
fn clone(&self) -> IndexResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexResponse
impl Debug for IndexResponse
Source§impl Default for IndexResponse
impl Default for IndexResponse
Source§fn default() -> IndexResponse
fn default() -> IndexResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexResponse
impl<'de> Deserialize<'de> for IndexResponse
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 IndexResponse
impl PartialEq for IndexResponse
Source§impl Serialize for IndexResponse
impl Serialize for IndexResponse
impl StructuralPartialEq for IndexResponse
Auto Trait Implementations§
impl Freeze for IndexResponse
impl RefUnwindSafe for IndexResponse
impl Send for IndexResponse
impl Sync for IndexResponse
impl Unpin for IndexResponse
impl UnwindSafe for IndexResponse
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