pub struct DexCandleOptions {
pub interval: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub page: Option<i64>,
pub limit: Option<i64>,
pub sort: Option<String>,
}Fields§
§interval: Option<String>§from: Option<String>§to: Option<String>§page: Option<i64>§limit: Option<i64>§sort: Option<String>Implementations§
Source§impl DexCandleOptions
impl DexCandleOptions
pub fn new() -> Self
pub fn interval(self, interval: impl Into<String>) -> Self
pub fn from(self, from: impl Into<String>) -> Self
pub fn to(self, to: impl Into<String>) -> Self
pub fn page(self, page: i64) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn sort(self, sort: impl Into<String>) -> Self
Auto Trait Implementations§
impl Freeze for DexCandleOptions
impl RefUnwindSafe for DexCandleOptions
impl Send for DexCandleOptions
impl Sync for DexCandleOptions
impl Unpin for DexCandleOptions
impl UnsafeUnpin for DexCandleOptions
impl UnwindSafe for DexCandleOptions
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