Struct aws_sdk_xray::model::SamplingRuleRecord
source · #[non_exhaustive]pub struct SamplingRuleRecord { /* private fields */ }
Expand description
A SamplingRule and its metadata.
Implementations§
source§impl SamplingRuleRecord
impl SamplingRuleRecord
sourcepub fn sampling_rule(&self) -> Option<&SamplingRule>
pub fn sampling_rule(&self) -> Option<&SamplingRule>
The sampling rule.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
When the rule was created.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
When the rule was last modified.
source§impl SamplingRuleRecord
impl SamplingRuleRecord
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SamplingRuleRecord
.
Trait Implementations§
source§impl Clone for SamplingRuleRecord
impl Clone for SamplingRuleRecord
source§fn clone(&self) -> SamplingRuleRecord
fn clone(&self) -> SamplingRuleRecord
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 SamplingRuleRecord
impl Debug for SamplingRuleRecord
source§impl PartialEq<SamplingRuleRecord> for SamplingRuleRecord
impl PartialEq<SamplingRuleRecord> for SamplingRuleRecord
source§fn eq(&self, other: &SamplingRuleRecord) -> bool
fn eq(&self, other: &SamplingRuleRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.