pub(crate) struct CollaboratorResponse {
login: String,
role_name: String,
permissions: Option<PermissionFlags>,
}Expand description
The wire shape of GitHub’s collaborator listing.
Fields§
§login: String§role_name: String§permissions: Option<PermissionFlags>Implementations§
Source§impl CollaboratorResponse
impl CollaboratorResponse
pub(crate) fn into_collaborator(self) -> Option<Collaborator>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CollaboratorResponse
impl RefUnwindSafe for CollaboratorResponse
impl Send for CollaboratorResponse
impl Sync for CollaboratorResponse
impl Unpin for CollaboratorResponse
impl UnsafeUnpin for CollaboratorResponse
impl UnwindSafe for CollaboratorResponse
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