[][src]Struct gitlab::types::JobId

pub struct JobId(_);

Type-safe job ID.

Implementations

impl JobId[src]

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

Create a new id.

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

The value of the id.

Trait Implementations

impl Clone for JobId[src]

impl Copy for JobId[src]

impl Debug for JobId[src]

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

impl Display for JobId[src]

impl Eq for JobId[src]

impl Hash for JobId[src]

impl Ord for JobId[src]

impl PartialEq<JobId> for JobId[src]

impl PartialOrd<JobId> for JobId[src]

impl Serialize for JobId[src]

impl StructuralEq for JobId[src]

impl StructuralPartialEq for JobId[src]

Auto Trait Implementations

impl RefUnwindSafe for JobId

impl Send for JobId

impl Sync for JobId

impl Unpin for JobId

impl UnwindSafe for JobId

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