pub struct TeamFull {Show 19 fields
pub id: i32,
pub node_id: String,
pub url: String,
pub html_url: String,
pub name: String,
pub slug: String,
pub description: Option<String>,
pub privacy: Option<Privacy>,
pub notification_setting: Option<NotificationSetting>,
pub permission: String,
pub members_url: String,
pub repositories_url: String,
pub parent: Option<Option<Box<NullableTeamSimple>>>,
pub members_count: i32,
pub repos_count: i32,
pub created_at: String,
pub updated_at: String,
pub organization: Box<TeamOrganization>,
pub ldap_dn: Option<String>,
}
Expand description
TeamFull : Groups of organization members that gives permissions on specified repositories.
Fields§
§id: i32
Unique identifier of the team
node_id: String
§url: String
URL for the team
html_url: String
§name: String
Name of the team
slug: String
§description: Option<String>
§privacy: Option<Privacy>
The level of privacy this team should have
notification_setting: Option<NotificationSetting>
The notification setting the team has set
permission: String
Permission that the team will have for its repositories
members_url: String
§repositories_url: String
§parent: Option<Option<Box<NullableTeamSimple>>>
§members_count: i32
§repos_count: i32
§created_at: String
§updated_at: String
§organization: Box<TeamOrganization>
§ldap_dn: Option<String>
Distinguished Name (DN) that team maps to within LDAP environment
Implementations§
Source§impl TeamFull
impl TeamFull
Sourcepub fn new(
id: i32,
node_id: String,
url: String,
html_url: String,
name: String,
slug: String,
description: Option<String>,
permission: String,
members_url: String,
repositories_url: String,
members_count: i32,
repos_count: i32,
created_at: String,
updated_at: String,
organization: TeamOrganization,
) -> TeamFull
pub fn new( id: i32, node_id: String, url: String, html_url: String, name: String, slug: String, description: Option<String>, permission: String, members_url: String, repositories_url: String, members_count: i32, repos_count: i32, created_at: String, updated_at: String, organization: TeamOrganization, ) -> TeamFull
Groups of organization members that gives permissions on specified repositories.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TeamFull
impl<'de> Deserialize<'de> for TeamFull
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 TeamFull
Auto Trait Implementations§
impl Freeze for TeamFull
impl RefUnwindSafe for TeamFull
impl Send for TeamFull
impl Sync for TeamFull
impl Unpin for TeamFull
impl UnwindSafe for TeamFull
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