pub struct SwapPriceOracle {
pub address: Address,
pub block: u64,
}Expand description
Swap price oracle contract deployment information.
Fields§
§address: AddressContract address.
block: u64Deployment block number.
Implementations§
Trait Implementations§
Source§impl Clone for SwapPriceOracle
impl Clone for SwapPriceOracle
Source§fn clone(&self) -> SwapPriceOracle
fn clone(&self) -> SwapPriceOracle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SwapPriceOracle
Source§impl Debug for SwapPriceOracle
impl Debug for SwapPriceOracle
impl Eq for SwapPriceOracle
Source§impl PartialEq for SwapPriceOracle
impl PartialEq for SwapPriceOracle
Source§fn eq(&self, other: &SwapPriceOracle) -> bool
fn eq(&self, other: &SwapPriceOracle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SwapPriceOracle
Auto Trait Implementations§
impl Freeze for SwapPriceOracle
impl RefUnwindSafe for SwapPriceOracle
impl Send for SwapPriceOracle
impl Sync for SwapPriceOracle
impl Unpin for SwapPriceOracle
impl UnsafeUnpin for SwapPriceOracle
impl UnwindSafe for SwapPriceOracle
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