pub struct NearBlockView {
pub author: String,
pub header: NearBlockHeader,
pub chunks: Vec<Value>,
pub additional: HashMap<String, Value>,
}Expand description
A typed NEAR block response with a guarded chunk collection.
Fields§
Account that authored the block.
header: NearBlockHeaderStable block header projection.
chunks: Vec<Value>Chunk records retained as JSON for forward compatibility.
additional: HashMap<String, Value>Forward-compatible block fields.
Trait Implementations§
Source§impl Clone for NearBlockView
impl Clone for NearBlockView
Source§impl Debug for NearBlockView
impl Debug for NearBlockView
Source§impl<'de> Deserialize<'de> for NearBlockView
impl<'de> Deserialize<'de> for NearBlockView
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
Auto Trait Implementations§
impl Freeze for NearBlockView
impl RefUnwindSafe for NearBlockView
impl Send for NearBlockView
impl Sync for NearBlockView
impl Unpin for NearBlockView
impl UnsafeUnpin for NearBlockView
impl UnwindSafe for NearBlockView
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