pub struct QueryResponse {
pub key: u64,
pub value: i64,
}
Fields§
§key: u64
§value: i64
Trait Implementations§
Source§impl Clone for QueryResponse
impl Clone for QueryResponse
Source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
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 QueryResponse
impl Debug for QueryResponse
Source§impl<'de> Deserialize<'de> for QueryResponse
impl<'de> Deserialize<'de> for QueryResponse
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 Hash for QueryResponse
impl Hash for QueryResponse
Source§impl PartialEq for QueryResponse
impl PartialEq for QueryResponse
Source§impl Serialize for QueryResponse
impl Serialize for QueryResponse
impl Eq for QueryResponse
impl StructuralPartialEq for QueryResponse
Auto Trait Implementations§
impl Freeze for QueryResponse
impl RefUnwindSafe for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnwindSafe for QueryResponse
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