pub enum FastResponse {
Ok,
Null,
Error(Vec<u8>),
Integer(i64),
Value(Vec<u8>),
Boolean(bool),
Array(Vec<Option<Vec<u8>>>),
Float(f64),
}Variants§
Ok
Null
Error(Vec<u8>)
Integer(i64)
Value(Vec<u8>)
Boolean(bool)
Array(Vec<Option<Vec<u8>>>)
Float(f64)
Trait Implementations§
Source§impl Clone for FastResponse
impl Clone for FastResponse
Source§fn clone(&self) -> FastResponse
fn clone(&self) -> FastResponse
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 FastResponse
impl Debug for FastResponse
Source§impl PartialEq for FastResponse
impl PartialEq for FastResponse
Source§fn eq(&self, other: &FastResponse) -> bool
fn eq(&self, other: &FastResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastResponse
Auto Trait Implementations§
impl Freeze for FastResponse
impl RefUnwindSafe for FastResponse
impl Send for FastResponse
impl Sync for FastResponse
impl Unpin for FastResponse
impl UnsafeUnpin for FastResponse
impl UnwindSafe for FastResponse
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