[][src]Struct sentry::internals::ProjectId

pub struct ProjectId(_);

Represents a project ID.

Implementations

impl ProjectId[src]

pub fn new(id: u64) -> ProjectId[src]

Creates a new project ID from its numeric value.

pub fn value(self) -> u64[src]

Returns the numeric value of this project id.

Trait Implementations

impl Clone for ProjectId[src]

impl Copy for ProjectId[src]

impl Debug for ProjectId[src]

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

impl Display for ProjectId[src]

impl Eq for ProjectId[src]

impl From<u16> for ProjectId[src]

impl From<u32> for ProjectId[src]

impl From<u64> for ProjectId[src]

impl From<u8> for ProjectId[src]

impl FromStr for ProjectId[src]

type Err = ParseProjectIdError

The associated error which can be returned from parsing.

impl Hash for ProjectId[src]

impl Ord for ProjectId[src]

impl PartialEq<ProjectId> for ProjectId[src]

impl PartialOrd<ProjectId> for ProjectId[src]

impl Serialize for ProjectId[src]

impl StructuralEq for ProjectId[src]

impl StructuralPartialEq for ProjectId[src]

impl TryFrom<i16> for ProjectId[src]

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i32> for ProjectId[src]

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i64> for ProjectId[src]

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<i8> for ProjectId[src]

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

impl TryFrom<usize> for ProjectId[src]

type Error = ParseProjectIdError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ProjectId

impl Send for ProjectId

impl Sync for ProjectId

impl Unpin for ProjectId

impl UnwindSafe for ProjectId

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, 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> 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>,