pub struct UpdateResponse {
pub _index: Option<String>,
pub updated: Option<i32>,
pub _id: Option<i64>,
pub result: Option<String>,
}
Expand description
UpdateResponse : Success response
Fields§
§_index: Option<String>
§updated: Option<i32>
§_id: Option<i64>
§result: Option<String>
Implementations§
Source§impl UpdateResponse
impl UpdateResponse
Sourcepub fn new() -> UpdateResponse
pub fn new() -> UpdateResponse
Success response
Trait Implementations§
Source§impl Clone for UpdateResponse
impl Clone for UpdateResponse
Source§fn clone(&self) -> UpdateResponse
fn clone(&self) -> UpdateResponse
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 UpdateResponse
impl Debug for UpdateResponse
Source§impl Default for UpdateResponse
impl Default for UpdateResponse
Source§fn default() -> UpdateResponse
fn default() -> UpdateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateResponse
impl<'de> Deserialize<'de> for UpdateResponse
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 UpdateResponse
impl PartialEq for UpdateResponse
Source§impl Serialize for UpdateResponse
impl Serialize for UpdateResponse
impl StructuralPartialEq for UpdateResponse
Auto Trait Implementations§
impl Freeze for UpdateResponse
impl RefUnwindSafe for UpdateResponse
impl Send for UpdateResponse
impl Sync for UpdateResponse
impl Unpin for UpdateResponse
impl UnwindSafe for UpdateResponse
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