pub struct GetPairCandles<'a> { /* private fields */ }Expand description
Builder for Client::get_pair_candles
Implementations§
Source§impl<'a> GetPairCandles<'a>
impl<'a> GetPairCandles<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn pair<V>(self, value: V) -> Self
pub fn from<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Self
pub fn price_type<V>(self, value: V) -> Self
pub fn resolution<V>(self, value: V) -> Selfwhere
V: TryInto<Resolution>,
pub fn to<V>(self, value: V) -> Self
Trait Implementations§
Source§impl<'a> Clone for GetPairCandles<'a>
impl<'a> Clone for GetPairCandles<'a>
Source§fn clone(&self) -> GetPairCandles<'a>
fn clone(&self) -> GetPairCandles<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for GetPairCandles<'a>
impl<'a> !RefUnwindSafe for GetPairCandles<'a>
impl<'a> Send for GetPairCandles<'a>
impl<'a> Sync for GetPairCandles<'a>
impl<'a> Unpin for GetPairCandles<'a>
impl<'a> !UnwindSafe for GetPairCandles<'a>
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