pub struct SignedTransactionView {
pub actions: Vec<ActionView>,
pub hash: CryptoHash,
pub nonce: u64,
pub priority_fee: u64,
pub public_key: PublicKey,
pub receiver_id: AccountId,
pub signature: Signature,
pub signer_id: AccountId,
}
Expand description
SignedTransactionView
JSON schema
{
"type": "object",
"required": [
"actions",
"hash",
"nonce",
"public_key",
"receiver_id",
"signature",
"signer_id"
],
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ActionView"
}
},
"hash": {
"$ref": "#/components/schemas/CryptoHash"
},
"nonce": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"priority_fee": {
"default": 0,
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
},
"receiver_id": {
"$ref": "#/components/schemas/AccountId"
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"signer_id": {
"$ref": "#/components/schemas/AccountId"
}
}
}
Fields§
§actions: Vec<ActionView>
§hash: CryptoHash
§nonce: u64
§priority_fee: u64
§public_key: PublicKey
§receiver_id: AccountId
§signature: Signature
§signer_id: AccountId
Trait Implementations§
Source§impl Clone for SignedTransactionView
impl Clone for SignedTransactionView
Source§fn clone(&self) -> SignedTransactionView
fn clone(&self) -> SignedTransactionView
Returns a duplicate 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 SignedTransactionView
impl Debug for SignedTransactionView
Source§impl<'de> Deserialize<'de> for SignedTransactionView
impl<'de> Deserialize<'de> for SignedTransactionView
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 From<&SignedTransactionView> for SignedTransactionView
impl From<&SignedTransactionView> for SignedTransactionView
Source§fn from(value: &SignedTransactionView) -> Self
fn from(value: &SignedTransactionView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignedTransactionView
impl RefUnwindSafe for SignedTransactionView
impl Send for SignedTransactionView
impl Sync for SignedTransactionView
impl Unpin for SignedTransactionView
impl UnwindSafe for SignedTransactionView
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