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§const fn clone_from(&mut self, source: &Self)
const 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<RpcChunkResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcChunkResponse, <__D as Deserializer<'de>>::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) -> RpcChunkResponse
fn from(value: &RpcChunkResponse) -> RpcChunkResponse
Converts to this type from the input type.
Source§impl Serialize for RpcChunkResponse
impl Serialize for RpcChunkResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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