pub struct GetCandles<'a> { /* private fields */ }Expand description
Builder for [Client::get_candles]
[`Client::get_candles`]: super::Client::get_candlesImplementations§
Source§impl<'a> GetCandles<'a>
impl<'a> GetCandles<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn token_address<V>(self, value: V) -> Self
pub fn from<V>(self, value: V) -> Self
pub fn limit<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 GetCandles<'a>
impl<'a> Clone for GetCandles<'a>
Source§fn clone(&self) -> GetCandles<'a>
fn clone(&self) -> GetCandles<'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 GetCandles<'a>
impl<'a> !RefUnwindSafe for GetCandles<'a>
impl<'a> Send for GetCandles<'a>
impl<'a> Sync for GetCandles<'a>
impl<'a> Unpin for GetCandles<'a>
impl<'a> !UnwindSafe for GetCandles<'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