pub struct StoreCompareAndSetReply {
pub applied: bool,
pub error: Option<String>,
}Expand description
Response to StoreCompareAndSetRequest.
Fields§
§applied: boolWhether the swap happened.
error: Option<String>Set when the RPC failed (not when the precondition did not hold).
Trait Implementations§
Source§impl Clone for StoreCompareAndSetReply
impl Clone for StoreCompareAndSetReply
Source§fn clone(&self) -> StoreCompareAndSetReply
fn clone(&self) -> StoreCompareAndSetReply
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 StoreCompareAndSetReply
impl Debug for StoreCompareAndSetReply
Source§impl<'de> Deserialize<'de> for StoreCompareAndSetReply
impl<'de> Deserialize<'de> for StoreCompareAndSetReply
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
impl Eq for StoreCompareAndSetReply
Source§impl PartialEq for StoreCompareAndSetReply
impl PartialEq for StoreCompareAndSetReply
Source§impl Serialize for StoreCompareAndSetReply
impl Serialize for StoreCompareAndSetReply
impl StructuralPartialEq for StoreCompareAndSetReply
Auto Trait Implementations§
impl Freeze for StoreCompareAndSetReply
impl RefUnwindSafe for StoreCompareAndSetReply
impl Send for StoreCompareAndSetReply
impl Sync for StoreCompareAndSetReply
impl Unpin for StoreCompareAndSetReply
impl UnsafeUnpin for StoreCompareAndSetReply
impl UnwindSafe for StoreCompareAndSetReply
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