#[non_exhaustive]pub struct GetEvidenceOutputBuilder { /* private fields */ }Expand description
A builder for GetEvidenceOutput.
Implementations§
source§impl GetEvidenceOutputBuilder
impl GetEvidenceOutputBuilder
sourcepub fn evidence(self, input: Evidence) -> Self
pub fn evidence(self, input: Evidence) -> Self
The evidence that the GetEvidence API returned.
sourcepub fn set_evidence(self, input: Option<Evidence>) -> Self
pub fn set_evidence(self, input: Option<Evidence>) -> Self
The evidence that the GetEvidence API returned.
sourcepub fn get_evidence(&self) -> &Option<Evidence>
pub fn get_evidence(&self) -> &Option<Evidence>
The evidence that the GetEvidence API returned.
sourcepub fn build(self) -> GetEvidenceOutput
pub fn build(self) -> GetEvidenceOutput
Consumes the builder and constructs a GetEvidenceOutput.
Trait Implementations§
source§impl Clone for GetEvidenceOutputBuilder
impl Clone for GetEvidenceOutputBuilder
source§fn clone(&self) -> GetEvidenceOutputBuilder
fn clone(&self) -> GetEvidenceOutputBuilder
Returns a copy 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 GetEvidenceOutputBuilder
impl Debug for GetEvidenceOutputBuilder
source§impl Default for GetEvidenceOutputBuilder
impl Default for GetEvidenceOutputBuilder
source§fn default() -> GetEvidenceOutputBuilder
fn default() -> GetEvidenceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetEvidenceOutputBuilder
impl PartialEq for GetEvidenceOutputBuilder
source§fn eq(&self, other: &GetEvidenceOutputBuilder) -> bool
fn eq(&self, other: &GetEvidenceOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEvidenceOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetEvidenceOutputBuilder
impl Send for GetEvidenceOutputBuilder
impl Sync for GetEvidenceOutputBuilder
impl Unpin for GetEvidenceOutputBuilder
impl UnwindSafe for GetEvidenceOutputBuilder
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
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>
Creates a shared type from an unshared type.