Struct gitlab::types::HookId
[−]
[src]
pub struct HookId(_);
Type-safe hook ID.
Methods
impl HookId
[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 HookId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for HookId
[src]
fn clone(&self) -> HookId
[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 HookId
[src]
impl PartialEq for HookId
[src]
fn eq(&self, __arg_0: &HookId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HookId) -> bool
[src]
This method tests for !=
.