pub struct GetRevisionRequest {
pub block_address: ValueHolder,
pub digest_tip_address: Option<ValueHolder>,
pub document_id: String,
pub name: String,
}Fields§
§block_address: ValueHolderThe block location of the document revision to be verified. 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}
document_id: StringThe unique ID of the document to be verified.
name: StringThe name of the ledger.
Trait Implementations§
Source§impl Clone for GetRevisionRequest
impl Clone for GetRevisionRequest
Source§fn clone(&self) -> GetRevisionRequest
fn clone(&self) -> GetRevisionRequest
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 GetRevisionRequest
impl Debug for GetRevisionRequest
Source§impl Default for GetRevisionRequest
impl Default for GetRevisionRequest
Source§fn default() -> GetRevisionRequest
fn default() -> GetRevisionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetRevisionRequest
impl PartialEq for GetRevisionRequest
Source§impl Serialize for GetRevisionRequest
impl Serialize for GetRevisionRequest
impl StructuralPartialEq for GetRevisionRequest
Auto Trait Implementations§
impl Freeze for GetRevisionRequest
impl RefUnwindSafe for GetRevisionRequest
impl Send for GetRevisionRequest
impl Sync for GetRevisionRequest
impl Unpin for GetRevisionRequest
impl UnwindSafe for GetRevisionRequest
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