pub struct BridgeAttestationSignFields<'a> {
pub chain: &'a str,
pub event_type: &'a str,
pub operation_id: &'a str,
pub tx_hash: &'a str,
pub amount: &'a str,
pub asset: &'a str,
}Expand description
The operation fields a bridge validator attests (MsgBridgeAttestation).
Fields§
§chain: &'a strThe external chain name (e.g. "ethereum").
event_type: &'a strThe event type (e.g. "deposit").
operation_id: &'a strThe bridge operation id.
tx_hash: &'a strThe external tx hash.
amount: &'a strThe amount, as the chain’s integer string (e.g. "1000000").
asset: &'a strThe asset denom.
Trait Implementations§
Source§impl<'a> Clone for BridgeAttestationSignFields<'a>
impl<'a> Clone for BridgeAttestationSignFields<'a>
Source§fn clone(&self) -> BridgeAttestationSignFields<'a>
fn clone(&self) -> BridgeAttestationSignFields<'a>
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<'a> Copy for BridgeAttestationSignFields<'a>
Auto Trait Implementations§
impl<'a> Freeze for BridgeAttestationSignFields<'a>
impl<'a> RefUnwindSafe for BridgeAttestationSignFields<'a>
impl<'a> Send for BridgeAttestationSignFields<'a>
impl<'a> Sync for BridgeAttestationSignFields<'a>
impl<'a> Unpin for BridgeAttestationSignFields<'a>
impl<'a> UnsafeUnpin for BridgeAttestationSignFields<'a>
impl<'a> UnwindSafe for BridgeAttestationSignFields<'a>
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