Struct aws_sdk_qldb::input::GetRevisionInput
source · [−]#[non_exhaustive]pub struct GetRevisionInput {
pub name: Option<String>,
pub block_address: Option<ValueHolder>,
pub document_id: Option<String>,
pub digest_tip_address: Option<ValueHolder>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the ledger.
block_address: Option<ValueHolder>
The 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}
.
document_id: Option<String>
The UUID (represented in Base62-encoded text) of the document to be verified.
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}
.
Implementations
sourceimpl GetRevisionInput
impl GetRevisionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRevision, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRevision, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetRevision
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetRevisionInput
sourceimpl GetRevisionInput
impl GetRevisionInput
sourcepub fn block_address(&self) -> Option<&ValueHolder>
pub fn block_address(&self) -> Option<&ValueHolder>
The 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}
.
sourcepub fn document_id(&self) -> Option<&str>
pub fn document_id(&self) -> Option<&str>
The UUID (represented in Base62-encoded text) of the document to be verified.
sourcepub fn digest_tip_address(&self) -> Option<&ValueHolder>
pub fn digest_tip_address(&self) -> 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}
.
Trait Implementations
sourceimpl Clone for GetRevisionInput
impl Clone for GetRevisionInput
sourcefn clone(&self) -> GetRevisionInput
fn clone(&self) -> GetRevisionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetRevisionInput
impl Debug for GetRevisionInput
sourceimpl PartialEq<GetRevisionInput> for GetRevisionInput
impl PartialEq<GetRevisionInput> for GetRevisionInput
sourcefn eq(&self, other: &GetRevisionInput) -> bool
fn eq(&self, other: &GetRevisionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetRevisionInput) -> bool
fn ne(&self, other: &GetRevisionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetRevisionInput
Auto Trait Implementations
impl RefUnwindSafe for GetRevisionInput
impl Send for GetRevisionInput
impl Sync for GetRevisionInput
impl Unpin for GetRevisionInput
impl UnwindSafe for GetRevisionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more