Struct relay_sampling::config::RuleId
source · pub struct RuleId(pub u32);
Expand description
The identifier of a SamplingRule
.
This number must be unique within a Sentry organization, as it is recorded in outcomes and used to infer which sampling rule caused data to be dropped.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for RuleId
impl<'de> Deserialize<'de> for RuleId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for RuleId
impl Ord for RuleId
source§impl PartialOrd for RuleId
impl PartialOrd for RuleId
impl Copy for RuleId
impl Eq for RuleId
impl StructuralPartialEq for RuleId
Auto Trait Implementations§
impl Freeze for RuleId
impl RefUnwindSafe for RuleId
impl Send for RuleId
impl Sync for RuleId
impl Unpin for RuleId
impl UnwindSafe for RuleId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.