Struct github_webhook::payload_types::Team
source · pub struct Team<'a> {Show 13 fields
pub name: &'a str,
pub id: usize,
pub node_id: &'a str,
pub slug: &'a str,
pub description: Option<&'a str>,
pub privacy: TeamPrivacy,
pub url: &'a str,
pub html_url: &'a str,
pub members_url: &'a str,
pub repositories_url: &'a str,
pub permission: &'a str,
pub parent: Option<TeamParent<'a>>,
pub notification_setting: Option<TeamNotificationSetting>,
}
Expand description
Groups of organization members that gives permissions on specified repositories.
Fields§
§name: &'a str
Name of the team
id: usize
Unique identifier of the team
node_id: &'a str
§slug: &'a str
§description: Option<&'a str>
Description of the team
privacy: TeamPrivacy
§url: &'a str
URL for the team
html_url: &'a str
§members_url: &'a str
§repositories_url: &'a str
§permission: &'a str
Permission that the team will have for its repositories
parent: Option<TeamParent<'a>>
§notification_setting: Option<TeamNotificationSetting>
Whether team members will receive notifications when their team is @mentioned
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for Team<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Team<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Team<'a>
impl<'a> Send for Team<'a>
impl<'a> Sync for Team<'a>
impl<'a> Unpin for Team<'a>
impl<'a> UnwindSafe for Team<'a>
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