pub struct Team {
pub id: Option<i64>,
pub name: Option<String>,
pub permission: Option<String>,
pub includes_all_repositories: Option<bool>,
pub organization: Option<TeamOrganization>,
}Expand description
A repository team assignment returned by Forgejo.
Fields§
§id: Option<i64>The team’s numeric identifier.
name: Option<String>The team’s name.
permission: Option<String>The team’s organization-wide permission.
includes_all_repositories: Option<bool>Whether the team is granted every repository in the organization, including ones created later.
organization: Option<TeamOrganization>The organization the team belongs to.
Trait Implementations§
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