pub struct ChainContract {
pub address: Address,
pub block_created: Option<u64>,
}Expand description
An on-chain contract reference with an optional creation block.
Fields§
§address: AddressThe contract address.
block_created: Option<u64>The block at which the contract was created, if known.
Trait Implementations§
Source§impl Clone for ChainContract
impl Clone for ChainContract
Source§fn clone(&self) -> ChainContract
fn clone(&self) -> ChainContract
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 ChainContract
impl Debug for ChainContract
impl Copy for ChainContract
Auto Trait Implementations§
impl Freeze for ChainContract
impl RefUnwindSafe for ChainContract
impl Send for ChainContract
impl Sync for ChainContract
impl Unpin for ChainContract
impl UnsafeUnpin for ChainContract
impl UnwindSafe for ChainContract
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