Struct price_info::PriceInfo
source · [−]pub struct PriceInfo {
pub ethusd: f32,
}
Expand description
Current ETH price information.
Fields
ethusd: f32
Current ETH price in USD.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PriceInfo
impl Send for PriceInfo
impl Sync for PriceInfo
impl Unpin for PriceInfo
impl UnwindSafe for PriceInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more