#[non_exhaustive]pub struct GetRevisionOutputBuilder { /* private fields */ }Expand description
A builder for GetRevisionOutput.
Implementations§
source§impl GetRevisionOutputBuilder
impl GetRevisionOutputBuilder
sourcepub fn proof(self, input: ValueHolder) -> Self
pub fn proof(self, input: ValueHolder) -> Self
The proof object in Amazon Ion format returned by a GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.
sourcepub fn set_proof(self, input: Option<ValueHolder>) -> Self
pub fn set_proof(self, input: Option<ValueHolder>) -> Self
The proof object in Amazon Ion format returned by a GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.
sourcepub fn get_proof(&self) -> &Option<ValueHolder>
pub fn get_proof(&self) -> &Option<ValueHolder>
The proof object in Amazon Ion format returned by a GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.
sourcepub fn revision(self, input: ValueHolder) -> Self
pub fn revision(self, input: ValueHolder) -> Self
The document revision data object in Amazon Ion format.
This field is required.sourcepub fn set_revision(self, input: Option<ValueHolder>) -> Self
pub fn set_revision(self, input: Option<ValueHolder>) -> Self
The document revision data object in Amazon Ion format.
sourcepub fn get_revision(&self) -> &Option<ValueHolder>
pub fn get_revision(&self) -> &Option<ValueHolder>
The document revision data object in Amazon Ion format.
sourcepub fn build(self) -> GetRevisionOutput
pub fn build(self) -> GetRevisionOutput
Consumes the builder and constructs a GetRevisionOutput.
Trait Implementations§
source§impl Clone for GetRevisionOutputBuilder
impl Clone for GetRevisionOutputBuilder
source§fn clone(&self) -> GetRevisionOutputBuilder
fn clone(&self) -> GetRevisionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRevisionOutputBuilder
impl Debug for GetRevisionOutputBuilder
source§impl Default for GetRevisionOutputBuilder
impl Default for GetRevisionOutputBuilder
source§fn default() -> GetRevisionOutputBuilder
fn default() -> GetRevisionOutputBuilder
source§impl PartialEq for GetRevisionOutputBuilder
impl PartialEq for GetRevisionOutputBuilder
source§fn eq(&self, other: &GetRevisionOutputBuilder) -> bool
fn eq(&self, other: &GetRevisionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRevisionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRevisionOutputBuilder
impl RefUnwindSafe for GetRevisionOutputBuilder
impl Send for GetRevisionOutputBuilder
impl Sync for GetRevisionOutputBuilder
impl Unpin for GetRevisionOutputBuilder
impl UnwindSafe for GetRevisionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more