pub struct WebhooksTeam {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
WebhooksTeam : 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>
§repositories_url: Option<String>
§slug: Option<String>
§url: Option<String>
URL for the team
Implementations§
Source§impl WebhooksTeam
impl WebhooksTeam
Sourcepub fn new(id: i32, name: String) -> WebhooksTeam
pub fn new(id: i32, name: String) -> WebhooksTeam
Groups of organization members that gives permissions on specified repositories.
Trait Implementations§
Source§impl Clone for WebhooksTeam
impl Clone for WebhooksTeam
Source§fn clone(&self) -> WebhooksTeam
fn clone(&self) -> WebhooksTeam
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 WebhooksTeam
impl Debug for WebhooksTeam
Source§impl Default for WebhooksTeam
impl Default for WebhooksTeam
Source§fn default() -> WebhooksTeam
fn default() -> WebhooksTeam
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksTeam
impl<'de> Deserialize<'de> for WebhooksTeam
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 WebhooksTeam
impl PartialEq for WebhooksTeam
Source§impl Serialize for WebhooksTeam
impl Serialize for WebhooksTeam
impl StructuralPartialEq for WebhooksTeam
Auto Trait Implementations§
impl Freeze for WebhooksTeam
impl RefUnwindSafe for WebhooksTeam
impl Send for WebhooksTeam
impl Sync for WebhooksTeam
impl Unpin for WebhooksTeam
impl UnwindSafe for WebhooksTeam
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