pub enum RepositoryRole {
Maintainer,
User,
}Expand description
The capacity in which a user relates to a repository.
Variants§
Trait Implementations§
impl ApiResource for RepositoryRole
Source§impl Clone for RepositoryRole
impl Clone for RepositoryRole
Source§fn clone(&self) -> RepositoryRole
fn clone(&self) -> RepositoryRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RepositoryRole
impl Debug for RepositoryRole
Source§impl<'de> Deserialize<'de> for RepositoryRole
impl<'de> Deserialize<'de> for RepositoryRole
Source§fn 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
impl Eq for RepositoryRole
Source§impl PartialEq for RepositoryRole
impl PartialEq for RepositoryRole
Source§fn eq(&self, other: &RepositoryRole) -> bool
fn eq(&self, other: &RepositoryRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepositoryRole
impl Serialize for RepositoryRole
impl StructuralPartialEq for RepositoryRole
Auto Trait Implementations§
impl Freeze for RepositoryRole
impl RefUnwindSafe for RepositoryRole
impl Send for RepositoryRole
impl Sync for RepositoryRole
impl Unpin for RepositoryRole
impl UnsafeUnpin for RepositoryRole
impl UnwindSafe for RepositoryRole
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more