pub struct CollaboratorPermissions {
pub pull: bool,
pub triage: Option<bool>,
pub push: bool,
pub maintain: Option<bool>,
pub admin: bool,
}
Fields§
§pull: bool
§triage: Option<bool>
§push: bool
§maintain: Option<bool>
§admin: bool
Implementations§
Trait Implementations§
Source§impl Clone for CollaboratorPermissions
impl Clone for CollaboratorPermissions
Source§fn clone(&self) -> CollaboratorPermissions
fn clone(&self) -> CollaboratorPermissions
Returns a duplicate of the value. Read more
1.0.0 · 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 CollaboratorPermissions
impl Debug for CollaboratorPermissions
Source§impl Default for CollaboratorPermissions
impl Default for CollaboratorPermissions
Source§fn default() -> CollaboratorPermissions
fn default() -> CollaboratorPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollaboratorPermissions
impl<'de> Deserialize<'de> for CollaboratorPermissions
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
Source§impl PartialEq for CollaboratorPermissions
impl PartialEq for CollaboratorPermissions
Source§impl Serialize for CollaboratorPermissions
impl Serialize for CollaboratorPermissions
impl StructuralPartialEq for CollaboratorPermissions
Auto Trait Implementations§
impl Freeze for CollaboratorPermissions
impl RefUnwindSafe for CollaboratorPermissions
impl Send for CollaboratorPermissions
impl Sync for CollaboratorPermissions
impl Unpin for CollaboratorPermissions
impl UnwindSafe for CollaboratorPermissions
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