pub struct QueryOrderBookResponse {
pub outcome: Option<String>,
pub token_id: Option<String>,
pub timestamp: Option<i64>,
pub bids: Option<Vec<QueryOrderBookResponseBidsInner>>,
pub asks: Option<Vec<QueryOrderBookResponseAsksInner>>,
}Fields§
§outcome: Option<String>§token_id: Option<String>§timestamp: Option<i64>§bids: Option<Vec<QueryOrderBookResponseBidsInner>>§asks: Option<Vec<QueryOrderBookResponseAsksInner>>Implementations§
Source§impl QueryOrderBookResponse
impl QueryOrderBookResponse
pub fn new() -> QueryOrderBookResponse
Trait Implementations§
Source§impl Clone for QueryOrderBookResponse
impl Clone for QueryOrderBookResponse
Source§fn clone(&self) -> QueryOrderBookResponse
fn clone(&self) -> QueryOrderBookResponse
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 QueryOrderBookResponse
impl Debug for QueryOrderBookResponse
Source§impl Default for QueryOrderBookResponse
impl Default for QueryOrderBookResponse
Source§fn default() -> QueryOrderBookResponse
fn default() -> QueryOrderBookResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryOrderBookResponse
impl<'de> Deserialize<'de> for QueryOrderBookResponse
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 QueryOrderBookResponse
impl PartialEq for QueryOrderBookResponse
Source§fn eq(&self, other: &QueryOrderBookResponse) -> bool
fn eq(&self, other: &QueryOrderBookResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QueryOrderBookResponse
impl Serialize for QueryOrderBookResponse
impl StructuralPartialEq for QueryOrderBookResponse
Auto Trait Implementations§
impl Freeze for QueryOrderBookResponse
impl RefUnwindSafe for QueryOrderBookResponse
impl Send for QueryOrderBookResponse
impl Sync for QueryOrderBookResponse
impl Unpin for QueryOrderBookResponse
impl UnsafeUnpin for QueryOrderBookResponse
impl UnwindSafe for QueryOrderBookResponse
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