pub(crate) struct TeamResponse {
pub(crate) slug: String,
pub(crate) permission: String,
pub(crate) permissions: Option<PermissionFlags>,
pub(crate) access_source: Option<AccessSource>,
}Expand description
The wire shape of GitHub’s team listing endpoints.
Fields§
§slug: String§permission: String§permissions: Option<PermissionFlags>§access_source: Option<AccessSource>Trait Implementations§
Source§impl<'ʄ> Facet<'ʄ> for TeamResponse
impl<'ʄ> Facet<'ʄ> for TeamResponse
Source§impl From<TeamResponse> for Team
impl From<TeamResponse> for Team
Source§fn from(value: TeamResponse) -> Self
fn from(value: TeamResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TeamResponse
impl RefUnwindSafe for TeamResponse
impl Send for TeamResponse
impl Sync for TeamResponse
impl Unpin for TeamResponse
impl UnsafeUnpin for TeamResponse
impl UnwindSafe for TeamResponse
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