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