pub struct TransactionV1 {
pub signer_id: AccountId,
pub public_key: PublicKey,
pub nonce: Nonce,
pub receiver_id: AccountId,
pub block_hash: CryptoHash,
pub actions: Vec<Action>,
pub priority_fee: u64,
}Fields§
§signer_id: AccountId§public_key: PublicKey§nonce: Nonce§receiver_id: AccountId§block_hash: CryptoHash§actions: Vec<Action>§priority_fee: u64Trait Implementations§
Source§impl BorshDeserialize for TransactionV1
impl BorshDeserialize for TransactionV1
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for TransactionV1
impl BorshSerialize for TransactionV1
Source§impl Clone for TransactionV1
impl Clone for TransactionV1
Source§fn clone(&self) -> TransactionV1
fn clone(&self) -> TransactionV1
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransactionV1
impl Debug for TransactionV1
Source§impl<'de> Deserialize<'de> for TransactionV1
impl<'de> Deserialize<'de> for TransactionV1
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 PartialEq for TransactionV1
impl PartialEq for TransactionV1
Source§impl Serialize for TransactionV1
impl Serialize for TransactionV1
impl Eq for TransactionV1
impl StructuralPartialEq for TransactionV1
Auto Trait Implementations§
impl Freeze for TransactionV1
impl RefUnwindSafe for TransactionV1
impl Send for TransactionV1
impl Sync for TransactionV1
impl Unpin for TransactionV1
impl UnwindSafe for TransactionV1
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)