Struct sentry_types::ProjectId
source · pub struct ProjectId { /* private fields */ }
Expand description
Represents a project ID.
This is a thin wrapper around IDs supported by the Sentry server. The idea is that the sentry server generally can switch the ID format in the future (eg: we implement the IDs as strings and not as integers) but the actual ID format that is encountered are currently indeed integers.
To be future proof we support either integers or “short” strings.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ProjectId
impl<'de> Deserialize<'de> for ProjectId
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 ProjectId
impl Ord for ProjectId
source§impl PartialOrd<ProjectId> for ProjectId
impl PartialOrd<ProjectId> for ProjectId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more