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