Struct aws_smithy_runtime::client::defaults::DefaultPluginParams
source · #[non_exhaustive]pub struct DefaultPluginParams { /* private fields */ }
Expand description
Arguments for the default_plugins
method.
This is a struct to enable adding new parameters in the future without breaking the API.
Implementations§
source§impl DefaultPluginParams
impl DefaultPluginParams
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new DefaultPluginParams
.
sourcepub fn with_retry_partition_name(
self,
name: impl Into<Cow<'static, str>>,
) -> Self
pub fn with_retry_partition_name( self, name: impl Into<Cow<'static, str>>, ) -> Self
Sets the retry partition name.
sourcepub fn with_behavior_version(self, version: BehaviorVersion) -> Self
pub fn with_behavior_version(self, version: BehaviorVersion) -> Self
Sets the behavior major version.
Trait Implementations§
source§impl Debug for DefaultPluginParams
impl Debug for DefaultPluginParams
source§impl Default for DefaultPluginParams
impl Default for DefaultPluginParams
source§fn default() -> DefaultPluginParams
fn default() -> DefaultPluginParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultPluginParams
impl RefUnwindSafe for DefaultPluginParams
impl Send for DefaultPluginParams
impl Sync for DefaultPluginParams
impl Unpin for DefaultPluginParams
impl UnwindSafe for DefaultPluginParams
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.