pub enum TransactionExtraConfig {
V1 {
multisig_address: Option<AccountAddress>,
replay_protection_nonce: Option<u64>,
},
}Expand description
Extra configuration attached to a TransactionPayloadInner.
Variant index must be 0 (V1) to match Aptos core for BCS compatibility.
Variants§
V1
Version 1 (variant 0).
Trait Implementations§
Source§impl Clone for TransactionExtraConfig
impl Clone for TransactionExtraConfig
Source§fn clone(&self) -> TransactionExtraConfig
fn clone(&self) -> TransactionExtraConfig
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 moreSource§impl Debug for TransactionExtraConfig
impl Debug for TransactionExtraConfig
Source§impl<'de> Deserialize<'de> for TransactionExtraConfig
impl<'de> Deserialize<'de> for TransactionExtraConfig
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
impl Eq for TransactionExtraConfig
Source§impl PartialEq for TransactionExtraConfig
impl PartialEq for TransactionExtraConfig
Source§impl Serialize for TransactionExtraConfig
impl Serialize for TransactionExtraConfig
impl StructuralPartialEq for TransactionExtraConfig
Auto Trait Implementations§
impl Freeze for TransactionExtraConfig
impl RefUnwindSafe for TransactionExtraConfig
impl Send for TransactionExtraConfig
impl Sync for TransactionExtraConfig
impl Unpin for TransactionExtraConfig
impl UnsafeUnpin for TransactionExtraConfig
impl UnwindSafe for TransactionExtraConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoMoveArg for Twhere
T: Serialize,
impl<T> IntoMoveArg for Twhere
T: Serialize,
Source§fn into_move_arg(self) -> Result<Vec<u8>, AptosError>
fn into_move_arg(self) -> Result<Vec<u8>, AptosError>
Converts this value into BCS-encoded bytes. Read more