pub struct WebhooksTeam1 {Show 14 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<WebhooksTeamParent>>>,
pub permission: Option<String>,
pub privacy: Option<Privacy>,
pub notification_setting: Option<NotificationSetting>,
pub repositories_url: Option<String>,
pub slug: Option<String>,
pub url: Option<String>,
}
Expand description
WebhooksTeam1 : 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<WebhooksTeamParent>>>
§permission: Option<String>
Permission that the team will have for its repositories
privacy: Option<Privacy>
§notification_setting: Option<NotificationSetting>
Whether team members will receive notifications when their team is @mentioned
repositories_url: Option<String>
§slug: Option<String>
§url: Option<String>
URL for the team
Implementations§
Source§impl WebhooksTeam1
impl WebhooksTeam1
Sourcepub fn new(id: i32, name: String) -> WebhooksTeam1
pub fn new(id: i32, name: String) -> WebhooksTeam1
Groups of organization members that gives permissions on specified repositories.
Trait Implementations§
Source§impl Clone for WebhooksTeam1
impl Clone for WebhooksTeam1
Source§fn clone(&self) -> WebhooksTeam1
fn clone(&self) -> WebhooksTeam1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhooksTeam1
impl Debug for WebhooksTeam1
Source§impl Default for WebhooksTeam1
impl Default for WebhooksTeam1
Source§fn default() -> WebhooksTeam1
fn default() -> WebhooksTeam1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksTeam1
impl<'de> Deserialize<'de> for WebhooksTeam1
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
Source§impl PartialEq for WebhooksTeam1
impl PartialEq for WebhooksTeam1
Source§impl Serialize for WebhooksTeam1
impl Serialize for WebhooksTeam1
impl StructuralPartialEq for WebhooksTeam1
Auto Trait Implementations§
impl Freeze for WebhooksTeam1
impl RefUnwindSafe for WebhooksTeam1
impl Send for WebhooksTeam1
impl Sync for WebhooksTeam1
impl Unpin for WebhooksTeam1
impl UnwindSafe for WebhooksTeam1
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