pub struct DrainResponse {
pub record_name: String,
pub values: Vec<Value>,
pub count: usize,
}Expand description
Response from a record.drain call
Fields§
§record_name: StringEcho of the queried record name
values: Vec<Value>Chronologically ordered values (raw JSON, as written by the producer)
count: usizeNumber of values returned
Trait Implementations§
Source§impl Clone for DrainResponse
impl Clone for DrainResponse
Source§fn clone(&self) -> DrainResponse
fn clone(&self) -> DrainResponse
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 DrainResponse
impl Debug for DrainResponse
Source§impl<'de> Deserialize<'de> for DrainResponse
impl<'de> Deserialize<'de> for DrainResponse
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
Auto Trait Implementations§
impl Freeze for DrainResponse
impl RefUnwindSafe for DrainResponse
impl Send for DrainResponse
impl Sync for DrainResponse
impl Unpin for DrainResponse
impl UnsafeUnpin for DrainResponse
impl UnwindSafe for DrainResponse
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