pub struct Team {Show 13 fields
pub deleted: Option<bool>,
pub description: Option<Option<String>>,
pub html_url: Option<String>,
pub id: i32,
pub members_url: Option<String>,
pub name: String,
pub node_id: Option<String>,
pub parent: Option<Option<Box<TeamParent>>>,
pub permission: Option<String>,
pub privacy: Option<Privacy>,
pub repositories_url: Option<String>,
pub slug: Option<String>,
pub url: Option<String>,
}
Expand description
Team : Groups of organization members that gives permissions on specified repositories.
Fields§
§deleted: Option<bool>
§description: Option<Option<String>>
Description of the team
html_url: Option<String>
§id: i32
Unique identifier of the team
members_url: Option<String>
§name: String
Name of the team
node_id: Option<String>
§parent: Option<Option<Box<TeamParent>>>
§permission: Option<String>
Permission that the team will have for its repositories
privacy: Option<Privacy>
§repositories_url: Option<String>
§slug: Option<String>
§url: Option<String>
URL for the team
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Team
impl<'de> Deserialize<'de> for Team
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
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 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