Struct gitlab::types::ProjectId
[−]
[src]
pub struct ProjectId(_);
Type-safe project ID.
Methods
impl ProjectId
[src]
pub fn new(id: u64) -> Self
[src]
Create a new id.
pub fn value(&self) -> u64
[src]
The value of the id.
Trait Implementations
impl Debug for ProjectId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ProjectId
[src]
fn clone(&self) -> ProjectId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ProjectId
[src]
impl PartialEq for ProjectId
[src]
fn eq(&self, __arg_0: &ProjectId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ProjectId) -> bool
[src]
This method tests for !=
.