pub struct ReceiptView {
pub predecessor_id: AccountId,
pub priority: u64,
pub receipt: ReceiptEnumView,
pub receipt_id: CryptoHash,
pub receiver_id: AccountId,
}
Expand description
ReceiptView
JSON schema
{
"type": "object",
"required": [
"predecessor_id",
"receipt",
"receipt_id",
"receiver_id"
],
"properties": {
"predecessor_id": {
"$ref": "#/components/schemas/AccountId"
},
"priority": {
"default": 0,
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"receipt": {
"$ref": "#/components/schemas/ReceiptEnumView"
},
"receipt_id": {
"$ref": "#/components/schemas/CryptoHash"
},
"receiver_id": {
"$ref": "#/components/schemas/AccountId"
}
}
}
Fields§
§predecessor_id: AccountId
§priority: u64
§receipt: ReceiptEnumView
§receipt_id: CryptoHash
§receiver_id: AccountId
Trait Implementations§
Source§impl Clone for ReceiptView
impl Clone for ReceiptView
Source§fn clone(&self) -> ReceiptView
fn clone(&self) -> ReceiptView
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 ReceiptView
impl Debug for ReceiptView
Source§impl<'de> Deserialize<'de> for ReceiptView
impl<'de> Deserialize<'de> for ReceiptView
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<&ReceiptView> for ReceiptView
impl From<&ReceiptView> for ReceiptView
Source§fn from(value: &ReceiptView) -> Self
fn from(value: &ReceiptView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReceiptView
impl RefUnwindSafe for ReceiptView
impl Send for ReceiptView
impl Sync for ReceiptView
impl Unpin for ReceiptView
impl UnwindSafe for ReceiptView
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