[][src]Struct gitlab::types::MilestoneId

pub struct MilestoneId(_);

Type-safe milestone ID.

Implementations

impl MilestoneId[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 MilestoneId[src]

impl Copy for MilestoneId[src]

impl Debug for MilestoneId[src]

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

impl Display for MilestoneId[src]

impl Eq for MilestoneId[src]

impl Hash for MilestoneId[src]

impl Ord for MilestoneId[src]

impl PartialEq<MilestoneId> for MilestoneId[src]

impl PartialOrd<MilestoneId> for MilestoneId[src]

impl Serialize for MilestoneId[src]

impl StructuralEq for MilestoneId[src]

impl StructuralPartialEq for MilestoneId[src]

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