#[non_exhaustive]pub struct GetInsightOutputBuilder { /* private fields */ }
Expand description
A builder for GetInsightOutput
.
Implementations§
source§impl GetInsightOutputBuilder
impl GetInsightOutputBuilder
sourcepub fn set_insight(self, input: Option<Insight>) -> Self
pub fn set_insight(self, input: Option<Insight>) -> Self
The summary information of an insight.
sourcepub fn get_insight(&self) -> &Option<Insight>
pub fn get_insight(&self) -> &Option<Insight>
The summary information of an insight.
sourcepub fn build(self) -> GetInsightOutput
pub fn build(self) -> GetInsightOutput
Consumes the builder and constructs a GetInsightOutput
.
Trait Implementations§
source§impl Clone for GetInsightOutputBuilder
impl Clone for GetInsightOutputBuilder
source§fn clone(&self) -> GetInsightOutputBuilder
fn clone(&self) -> GetInsightOutputBuilder
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 GetInsightOutputBuilder
impl Debug for GetInsightOutputBuilder
source§impl Default for GetInsightOutputBuilder
impl Default for GetInsightOutputBuilder
source§fn default() -> GetInsightOutputBuilder
fn default() -> GetInsightOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetInsightOutputBuilder
impl PartialEq for GetInsightOutputBuilder
source§fn eq(&self, other: &GetInsightOutputBuilder) -> bool
fn eq(&self, other: &GetInsightOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetInsightOutputBuilder
Auto Trait Implementations§
impl Freeze for GetInsightOutputBuilder
impl RefUnwindSafe for GetInsightOutputBuilder
impl Send for GetInsightOutputBuilder
impl Sync for GetInsightOutputBuilder
impl Unpin for GetInsightOutputBuilder
impl UnwindSafe for GetInsightOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.