pub struct DexPoolSnapshotDto { /* private fields */ }Implementations§
Source§impl DexPoolSnapshotDto
impl DexPoolSnapshotDto
pub fn block_height<T>(self, value: T) -> Self
pub fn block_slot<T>(self, value: T) -> Self
pub fn block_timestamp<T>(self, value: T) -> Self
pub fn pool_address<T>(self, value: T) -> Self
pub fn snapshot_time<T>(self, value: T) -> Self
pub fn token_a<T>(self, value: T) -> Self
pub fn token_b<T>(self, value: T) -> Self
pub fn tvl_in_native<T>(self, value: T) -> Self
pub fn tvl_in_usd<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DexPoolSnapshotDto
impl Clone for DexPoolSnapshotDto
Source§fn clone(&self) -> DexPoolSnapshotDto
fn clone(&self) -> DexPoolSnapshotDto
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 moreSource§impl Debug for DexPoolSnapshotDto
impl Debug for DexPoolSnapshotDto
Source§impl Default for DexPoolSnapshotDto
impl Default for DexPoolSnapshotDto
Source§impl From<DexPoolSnapshotDto> for DexPoolSnapshotDto
impl From<DexPoolSnapshotDto> for DexPoolSnapshotDto
Source§fn from(value: DexPoolSnapshotDto) -> Self
fn from(value: DexPoolSnapshotDto) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DexPoolSnapshotDto> for DexPoolSnapshotDto
impl TryFrom<DexPoolSnapshotDto> for DexPoolSnapshotDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DexPoolSnapshotDto) -> Result<Self, ConversionError>
fn try_from(value: DexPoolSnapshotDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DexPoolSnapshotDto
impl RefUnwindSafe for DexPoolSnapshotDto
impl Send for DexPoolSnapshotDto
impl Sync for DexPoolSnapshotDto
impl Unpin for DexPoolSnapshotDto
impl UnwindSafe for DexPoolSnapshotDto
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