Struct forgejo_api::structs::RepoCollaboratorPermission
source · pub struct RepoCollaboratorPermission {
pub permission: Option<String>,
pub role_name: Option<String>,
pub user: Option<User>,
}Expand description
RepoCollaboratorPermission to get repository permission for a collaborator
Fields§
§permission: Option<String>§role_name: Option<String>§user: Option<User>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<'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
source§impl PartialEq for RepoCollaboratorPermission
impl PartialEq for RepoCollaboratorPermission
source§fn eq(&self, other: &RepoCollaboratorPermission) -> bool
fn eq(&self, other: &RepoCollaboratorPermission) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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