[]Struct sentry::internals::ProjectId

pub struct ProjectId(_);

Represents a project ID.

Implementations

impl ProjectId

pub fn new(id: u64) -> ProjectId

Creates a new project ID from its numeric value.

pub fn value(self) -> u64

Returns the numeric value of this project id.

Trait Implementations

impl Clone for ProjectId

impl Copy for ProjectId

impl Debug for ProjectId

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

impl Display for ProjectId

impl Eq for ProjectId

impl From<u16> for ProjectId

impl From<u32> for ProjectId

impl From<u64> for ProjectId

impl From<u8> for ProjectId

impl FromStr for ProjectId

type Err = ParseProjectIdError

The associated error which can be returned from parsing.

impl Hash for ProjectId

impl Ord for ProjectId

impl PartialEq<ProjectId> for ProjectId

impl PartialOrd<ProjectId> for ProjectId

impl Serialize for ProjectId

impl StructuralEq for ProjectId

impl StructuralPartialEq for ProjectId

impl TryFrom<i16> for ProjectId

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i32> for ProjectId

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i64> for ProjectId

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i8> for ProjectId

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<usize> for ProjectId

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]