pub struct RepoCollaboratorPermission {
pub permission: Option<String>,
pub role_name: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
RepoCollaboratorPermission : RepoCollaboratorPermission to get repository permission for a collaborator
Fields§
§permission: Option<String>
§role_name: Option<String>
§user: Option<Box<User>>
Implementations§
Source§impl RepoCollaboratorPermission
impl RepoCollaboratorPermission
Sourcepub fn new() -> RepoCollaboratorPermission
pub fn new() -> RepoCollaboratorPermission
RepoCollaboratorPermission to get repository permission for a collaborator
Trait Implementations§
Source§impl Clone for RepoCollaboratorPermission
impl Clone for RepoCollaboratorPermission
Source§fn clone(&self) -> RepoCollaboratorPermission
fn clone(&self) -> RepoCollaboratorPermission
Returns a copy 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 RepoCollaboratorPermission
impl Debug for RepoCollaboratorPermission
Source§impl Default for RepoCollaboratorPermission
impl Default for RepoCollaboratorPermission
Source§fn default() -> RepoCollaboratorPermission
fn default() -> RepoCollaboratorPermission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepoCollaboratorPermission
impl<'de> Deserialize<'de> for RepoCollaboratorPermission
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 StructuralPartialEq for RepoCollaboratorPermission
Auto Trait Implementations§
impl Freeze for RepoCollaboratorPermission
impl RefUnwindSafe for RepoCollaboratorPermission
impl Send for RepoCollaboratorPermission
impl Sync for RepoCollaboratorPermission
impl Unpin for RepoCollaboratorPermission
impl UnwindSafe for RepoCollaboratorPermission
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