Struct actix_tools::sentry::sentry_client::internals::ProjectId[]

pub struct ProjectId { /* fields omitted */ }

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

impl Serialize for ProjectId

Serialize this value into the given Serde serializer. Read more

impl PartialOrd<ProjectId> for ProjectId

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for ProjectId

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for ProjectId

Formats the value using the given formatter. Read more

impl Clone for ProjectId

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromStr for ProjectId

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Debug for ProjectId

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for ProjectId

Deserialize this value from the given Serde deserializer. Read more

impl Copy for ProjectId

impl Ord for ProjectId

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Eq for ProjectId

impl PartialEq<ProjectId> for ProjectId

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u8> for ProjectId

Performs the conversion.

impl From<i16> for ProjectId

Performs the conversion.

impl From<i64> for ProjectId

Performs the conversion.

impl From<i32> for ProjectId

Performs the conversion.

impl From<usize> for ProjectId

Performs the conversion.

impl From<u64> for ProjectId

Performs the conversion.

impl From<u16> for ProjectId

Performs the conversion.

impl From<i8> for ProjectId

Performs the conversion.

impl From<u32> for ProjectId

Performs the conversion.

Auto Trait Implementations

impl Send for ProjectId

impl Sync for ProjectId