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