pub struct GetBlockRequest {
pub block_address: ValueHolder,
pub digest_tip_address: Option<ValueHolder>,
pub name: String,
}Fields§
§block_address: ValueHolderThe location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}
digest_tip_address: Option<ValueHolder>The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}
name: StringThe name of the ledger.
Trait Implementations§
Source§impl Clone for GetBlockRequest
impl Clone for GetBlockRequest
Source§fn clone(&self) -> GetBlockRequest
fn clone(&self) -> GetBlockRequest
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 GetBlockRequest
impl Debug for GetBlockRequest
Source§impl Default for GetBlockRequest
impl Default for GetBlockRequest
Source§fn default() -> GetBlockRequest
fn default() -> GetBlockRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetBlockRequest
impl PartialEq for GetBlockRequest
Source§impl Serialize for GetBlockRequest
impl Serialize for GetBlockRequest
impl StructuralPartialEq for GetBlockRequest
Auto Trait Implementations§
impl Freeze for GetBlockRequest
impl RefUnwindSafe for GetBlockRequest
impl Send for GetBlockRequest
impl Sync for GetBlockRequest
impl Unpin for GetBlockRequest
impl UnwindSafe for GetBlockRequest
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