Struct github_webhook::payload_types::TeamParent
source · pub struct TeamParent<'a> {
pub name: &'a str,
pub id: usize,
pub node_id: &'a str,
pub slug: &'a str,
pub description: Option<&'a str>,
pub privacy: TeamParentPrivacy,
pub url: &'a str,
pub html_url: &'a str,
pub members_url: &'a str,
pub repositories_url: &'a str,
pub permission: &'a str,
pub notification_setting: Option<TeamParentNotificationSetting>,
}
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: TeamParentPrivacy
§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
notification_setting: Option<TeamParentNotificationSetting>
Whether team members will receive notifications when their team is @mentioned
Trait Implementations§
source§impl<'a> Debug for TeamParent<'a>
impl<'a> Debug for TeamParent<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for TeamParent<'a>
impl<'de: 'a, 'a> Deserialize<'de> for TeamParent<'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 TeamParent<'a>
impl<'a> Send for TeamParent<'a>
impl<'a> Sync for TeamParent<'a>
impl<'a> Unpin for TeamParent<'a>
impl<'a> UnwindSafe for TeamParent<'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