Struct aws_sdk_connect::types::AgentConfig
source · #[non_exhaustive]pub struct AgentConfig {
pub distributions: Vec<Distribution>,
}
Expand description
The distribution of agents between the instance and its replica(s).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.distributions: Vec<Distribution>
Information about traffic distributions.
Implementations§
source§impl AgentConfig
impl AgentConfig
sourcepub fn distributions(&self) -> &[Distribution]
pub fn distributions(&self) -> &[Distribution]
Information about traffic distributions.
source§impl AgentConfig
impl AgentConfig
sourcepub fn builder() -> AgentConfigBuilder
pub fn builder() -> AgentConfigBuilder
Creates a new builder-style object to manufacture AgentConfig
.
Trait Implementations§
source§impl Clone for AgentConfig
impl Clone for AgentConfig
source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
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 AgentConfig
impl Debug for AgentConfig
source§impl PartialEq for AgentConfig
impl PartialEq for AgentConfig
source§fn eq(&self, other: &AgentConfig) -> bool
fn eq(&self, other: &AgentConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnwindSafe for AgentConfig
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.