Struct automatons_github::resource::OrganizationId
source · [−]pub struct OrganizationId(_);
Expand description
Organization id
The OrganizationId
is a unique, numerical id that is used to interact with an
organization through GitHub’s REST API.
Implementations
Trait Implementations
sourceimpl Clone for OrganizationId
impl Clone for OrganizationId
sourcefn clone(&self) -> OrganizationId
fn clone(&self) -> OrganizationId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OrganizationId
impl Debug for OrganizationId
sourceimpl<'de> Deserialize<'de> for OrganizationId
impl<'de> Deserialize<'de> for OrganizationId
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for OrganizationId
impl Display for OrganizationId
sourceimpl From<u64> for OrganizationId
impl From<u64> for OrganizationId
sourcefn from(id: u64) -> OrganizationId
fn from(id: u64) -> OrganizationId
Converts to this type from the input type.
sourceimpl Hash for OrganizationId
impl Hash for OrganizationId
sourceimpl Ord for OrganizationId
impl Ord for OrganizationId
sourcefn cmp(&self, other: &OrganizationId) -> Ordering
fn cmp(&self, other: &OrganizationId) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<OrganizationId> for OrganizationId
impl PartialEq<OrganizationId> for OrganizationId
sourcefn eq(&self, other: &OrganizationId) -> bool
fn eq(&self, other: &OrganizationId) -> bool
sourceimpl PartialOrd<OrganizationId> for OrganizationId
impl PartialOrd<OrganizationId> for OrganizationId
sourcefn partial_cmp(&self, other: &OrganizationId) -> Option<Ordering>
fn partial_cmp(&self, other: &OrganizationId) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for OrganizationId
impl Serialize for OrganizationId
impl Copy for OrganizationId
impl Eq for OrganizationId
impl StructuralEq for OrganizationId
impl StructuralPartialEq for OrganizationId
Auto Trait Implementations
impl RefUnwindSafe for OrganizationId
impl Send for OrganizationId
impl Sync for OrganizationId
impl Unpin for OrganizationId
impl UnwindSafe for OrganizationId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.