Struct nym_mixnet_contract_common::gateway::GatewayBond
source · pub struct GatewayBond {
pub pledge_amount: Coin,
pub owner: Addr,
pub block_height: u64,
pub gateway: Gateway,
pub proxy: Option<Addr>,
}
Fields§
§pledge_amount: Coin
§owner: Addr
§block_height: u64
§gateway: Gateway
§proxy: Option<Addr>
Implementations§
Trait Implementations§
source§impl Clone for GatewayBond
impl Clone for GatewayBond
source§fn clone(&self) -> GatewayBond
fn clone(&self) -> GatewayBond
Returns a copy 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 GatewayBond
impl Debug for GatewayBond
source§impl<'de> Deserialize<'de> for GatewayBond
impl<'de> Deserialize<'de> for GatewayBond
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for GatewayBond
impl Display for GatewayBond
source§impl JsonSchema for GatewayBond
impl JsonSchema for GatewayBond
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<GatewayBond> for GatewayBond
impl PartialEq<GatewayBond> for GatewayBond
source§fn eq(&self, other: &GatewayBond) -> bool
fn eq(&self, other: &GatewayBond) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GatewayBond> for GatewayBond
impl PartialOrd<GatewayBond> for GatewayBond
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for GatewayBond
impl Serialize for GatewayBond
impl StructuralPartialEq for GatewayBond
Auto Trait Implementations§
impl RefUnwindSafe for GatewayBond
impl Send for GatewayBond
impl Sync for GatewayBond
impl Unpin for GatewayBond
impl UnwindSafe for GatewayBond
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