Struct aws_sdk_qldb::operation::get_block::builders::GetBlockOutputBuilder
source · #[non_exhaustive]pub struct GetBlockOutputBuilder { /* private fields */ }Expand description
A builder for GetBlockOutput.
Implementations§
source§impl GetBlockOutputBuilder
impl GetBlockOutputBuilder
sourcepub fn block(self, input: ValueHolder) -> Self
pub fn block(self, input: ValueHolder) -> Self
The block data object in Amazon Ion format.
This field is required.sourcepub fn set_block(self, input: Option<ValueHolder>) -> Self
pub fn set_block(self, input: Option<ValueHolder>) -> Self
The block data object in Amazon Ion format.
sourcepub fn get_block(&self) -> &Option<ValueHolder>
pub fn get_block(&self) -> &Option<ValueHolder>
The block data object in Amazon Ion format.
sourcepub fn proof(self, input: ValueHolder) -> Self
pub fn proof(self, input: ValueHolder) -> Self
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
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 GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
sourcepub fn get_proof(&self) -> &Option<ValueHolder>
pub fn get_proof(&self) -> &Option<ValueHolder>
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
sourcepub fn build(self) -> GetBlockOutput
pub fn build(self) -> GetBlockOutput
Consumes the builder and constructs a GetBlockOutput.
Trait Implementations§
source§impl Clone for GetBlockOutputBuilder
impl Clone for GetBlockOutputBuilder
source§fn clone(&self) -> GetBlockOutputBuilder
fn clone(&self) -> GetBlockOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetBlockOutputBuilder
impl Debug for GetBlockOutputBuilder
source§impl Default for GetBlockOutputBuilder
impl Default for GetBlockOutputBuilder
source§fn default() -> GetBlockOutputBuilder
fn default() -> GetBlockOutputBuilder
source§impl PartialEq for GetBlockOutputBuilder
impl PartialEq for GetBlockOutputBuilder
source§fn eq(&self, other: &GetBlockOutputBuilder) -> bool
fn eq(&self, other: &GetBlockOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetBlockOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBlockOutputBuilder
impl RefUnwindSafe for GetBlockOutputBuilder
impl Send for GetBlockOutputBuilder
impl Sync for GetBlockOutputBuilder
impl Unpin for GetBlockOutputBuilder
impl UnwindSafe for GetBlockOutputBuilder
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> 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