pub struct RpcChunkResponse {
pub author: AccountId,
pub header: ChunkHeaderView,
pub receipts: Vec<ReceiptView>,
pub transactions: Vec<SignedTransactionView>,
}
Expand description
RpcChunkResponse
JSON schema
{
"type": "object",
"required": [
"author",
"header",
"receipts",
"transactions"
],
"properties": {
"author": {
"$ref": "#/components/schemas/AccountId"
},
"header": {
"$ref": "#/components/schemas/ChunkHeaderView"
},
"receipts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReceiptView"
}
},
"transactions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SignedTransactionView"
}
}
}
}
Fields§
§header: ChunkHeaderView
§receipts: Vec<ReceiptView>
§transactions: Vec<SignedTransactionView>
Trait Implementations§
Source§impl Clone for RpcChunkResponse
impl Clone for RpcChunkResponse
Source§fn clone(&self) -> RpcChunkResponse
fn clone(&self) -> RpcChunkResponse
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 RpcChunkResponse
impl Debug for RpcChunkResponse
Source§impl<'de> Deserialize<'de> for RpcChunkResponse
impl<'de> Deserialize<'de> for RpcChunkResponse
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<&RpcChunkResponse> for RpcChunkResponse
impl From<&RpcChunkResponse> for RpcChunkResponse
Source§fn from(value: &RpcChunkResponse) -> Self
fn from(value: &RpcChunkResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcChunkResponse
impl RefUnwindSafe for RpcChunkResponse
impl Send for RpcChunkResponse
impl Sync for RpcChunkResponse
impl Unpin for RpcChunkResponse
impl UnwindSafe for RpcChunkResponse
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