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