Struct sentry_types::ProjectId [] [src]

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 Copy for ProjectId
[src]

impl Clone for ProjectId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ProjectId
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ProjectId
[src]

impl Ord for ProjectId
[src]

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for ProjectId
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

impl Hash for ProjectId
[src]

[src]

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

1.3.0
[src]

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

impl Display for ProjectId
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for ProjectId
[src]

[src]

Formats the value using the given formatter. Read more

impl From<usize> for ProjectId
[src]

[src]

Performs the conversion.

impl From<u8> for ProjectId
[src]

[src]

Performs the conversion.

impl From<u16> for ProjectId
[src]

[src]

Performs the conversion.

impl From<u32> for ProjectId
[src]

[src]

Performs the conversion.

impl From<u64> for ProjectId
[src]

[src]

Performs the conversion.

impl From<i8> for ProjectId
[src]

[src]

Performs the conversion.

impl From<i16> for ProjectId
[src]

[src]

Performs the conversion.

impl From<i32> for ProjectId
[src]

[src]

Performs the conversion.

impl From<i64> for ProjectId
[src]

[src]

Performs the conversion.

impl FromStr for ProjectId
[src]

The associated error which can be returned from parsing.

[src]

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

impl Serialize for ProjectId
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for ProjectId
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for ProjectId

impl Sync for ProjectId