#[non_exhaustive]pub struct ResultReuseConfigurationBuilder { /* private fields */ }Expand description
A builder for ResultReuseConfiguration.
Implementations§
source§impl ResultReuseConfigurationBuilder
impl ResultReuseConfigurationBuilder
sourcepub fn result_reuse_by_age_configuration(
self,
input: ResultReuseByAgeConfiguration,
) -> Self
pub fn result_reuse_by_age_configuration( self, input: ResultReuseByAgeConfiguration, ) -> Self
Specifies whether previous query results are reused, and if so, their maximum age.
sourcepub fn set_result_reuse_by_age_configuration(
self,
input: Option<ResultReuseByAgeConfiguration>,
) -> Self
pub fn set_result_reuse_by_age_configuration( self, input: Option<ResultReuseByAgeConfiguration>, ) -> Self
Specifies whether previous query results are reused, and if so, their maximum age.
sourcepub fn get_result_reuse_by_age_configuration(
&self,
) -> &Option<ResultReuseByAgeConfiguration>
pub fn get_result_reuse_by_age_configuration( &self, ) -> &Option<ResultReuseByAgeConfiguration>
Specifies whether previous query results are reused, and if so, their maximum age.
sourcepub fn build(self) -> ResultReuseConfiguration
pub fn build(self) -> ResultReuseConfiguration
Consumes the builder and constructs a ResultReuseConfiguration.
Trait Implementations§
source§impl Clone for ResultReuseConfigurationBuilder
impl Clone for ResultReuseConfigurationBuilder
source§fn clone(&self) -> ResultReuseConfigurationBuilder
fn clone(&self) -> ResultReuseConfigurationBuilder
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 Default for ResultReuseConfigurationBuilder
impl Default for ResultReuseConfigurationBuilder
source§fn default() -> ResultReuseConfigurationBuilder
fn default() -> ResultReuseConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResultReuseConfigurationBuilder
impl PartialEq for ResultReuseConfigurationBuilder
source§fn eq(&self, other: &ResultReuseConfigurationBuilder) -> bool
fn eq(&self, other: &ResultReuseConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResultReuseConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ResultReuseConfigurationBuilder
impl RefUnwindSafe for ResultReuseConfigurationBuilder
impl Send for ResultReuseConfigurationBuilder
impl Sync for ResultReuseConfigurationBuilder
impl Unpin for ResultReuseConfigurationBuilder
impl UnwindSafe for ResultReuseConfigurationBuilder
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.