#[repr(u8)]pub enum OwnerKind {
Organization = 0,
User = 1,
}Expand description
The kind of account that owns a repository.
Variants§
Organization = 0
An organization, which can define custom repository roles.
User = 1
A personal account.
Trait Implementations§
impl Copy for OwnerKind
impl Eq for OwnerKind
impl StructuralPartialEq for OwnerKind
Auto Trait Implementations§
impl Freeze for OwnerKind
impl RefUnwindSafe for OwnerKind
impl Send for OwnerKind
impl Sync for OwnerKind
impl Unpin for OwnerKind
impl UnsafeUnpin for OwnerKind
impl UnwindSafe for OwnerKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.