pub struct AssetAccountBinding {
pub sign_schema: SignatureSchema,
pub main: WalletRegisterId,
pub asset: WalletRegisterId,
pub initiator: WalletRegisterId,
pub sign_schema_initiator: SignatureSchema,
pub sig_initiator: ByteBuf,
pub timestamp: TimeInNs,
}Expand description
AssetAccountBinding
Fields§
§sign_schema: SignatureSchemaSignature schema Note: this is the signature schema of the second wallet
main: WalletRegisterIdThe main wallet id
asset: WalletRegisterIdThe asset wallet id
initiator: WalletRegisterIdThe initiator wallet id
Note: this is the wallet id that is used to create the asset account binding tx, So it is main wallet id or asset wallet id
sign_schema_initiator: SignatureSchemaThe wallet signature schema of the initiator
sig_initiator: ByteBufThe initial wallet signature
timestamp: TimeInNsTx timestamp
Trait Implementations§
Source§impl Clone for AssetAccountBinding
impl Clone for AssetAccountBinding
Source§fn clone(&self) -> AssetAccountBinding
fn clone(&self) -> AssetAccountBinding
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 AssetAccountBinding
impl Debug for AssetAccountBinding
Source§impl<'de> Deserialize<'de> for AssetAccountBinding
impl<'de> Deserialize<'de> for AssetAccountBinding
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 AssetAccountBinding
impl Display for AssetAccountBinding
Source§impl Hash for AssetAccountBinding
impl Hash for AssetAccountBinding
Source§impl Ord for AssetAccountBinding
impl Ord for AssetAccountBinding
Source§fn cmp(&self, other: &AssetAccountBinding) -> Ordering
fn cmp(&self, other: &AssetAccountBinding) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssetAccountBinding
impl PartialEq for AssetAccountBinding
Source§impl PartialOrd for AssetAccountBinding
impl PartialOrd for AssetAccountBinding
Source§impl Serialize for AssetAccountBinding
impl Serialize for AssetAccountBinding
impl Eq for AssetAccountBinding
impl StructuralPartialEq for AssetAccountBinding
Auto Trait Implementations§
impl Freeze for AssetAccountBinding
impl RefUnwindSafe for AssetAccountBinding
impl Send for AssetAccountBinding
impl Sync for AssetAccountBinding
impl Unpin for AssetAccountBinding
impl UnwindSafe for AssetAccountBinding
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