pub struct Team {
pub slug: String,
pub permission: Observed<Permission>,
pub inherited: bool,
}Expand description
A team and the permission it has.
Fields§
§slug: StringThe team’s slug, which identifies it in the API and in URLs.
permission: Observed<Permission>The team’s permission.
inherited: boolWhether the grant comes from the organization or the enterprise rather than a direct repository assignment.
Trait Implementations§
impl Eq for Team
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.
impl StructuralPartialEq for Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnsafeUnpin for Team
impl UnwindSafe for Team
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.