#[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<ResultReuseConfigurationBuilder> for ResultReuseConfigurationBuilder
impl PartialEq<ResultReuseConfigurationBuilder> 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 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