pub struct EnterpriseWebhooks {
pub description: Option<Option<String>>,
pub html_url: String,
pub website_url: Option<Option<String>>,
pub id: i32,
pub node_id: String,
pub name: String,
pub slug: String,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub avatar_url: String,
}
Expand description
EnterpriseWebhooks : An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured on an enterprise account or an organization that’s part of an enterprise account. For more information, see "About enterprise accounts."
Fields§
§description: Option<Option<String>>
A short description of the enterprise.
html_url: String
§website_url: Option<Option<String>>
The enterprise’s website URL.
id: i32
Unique identifier of the enterprise
node_id: String
§name: String
The name of the enterprise.
slug: String
The slug url identifier for the enterprise.
created_at: Option<String>
§updated_at: Option<String>
§avatar_url: String
Implementations§
Source§impl EnterpriseWebhooks
impl EnterpriseWebhooks
Sourcepub fn new(
html_url: String,
id: i32,
node_id: String,
name: String,
slug: String,
created_at: Option<String>,
updated_at: Option<String>,
avatar_url: String,
) -> EnterpriseWebhooks
pub fn new( html_url: String, id: i32, node_id: String, name: String, slug: String, created_at: Option<String>, updated_at: Option<String>, avatar_url: String, ) -> EnterpriseWebhooks
An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured on an enterprise account or an organization that’s part of an enterprise account. For more information, see "About enterprise accounts."
Trait Implementations§
Source§impl Clone for EnterpriseWebhooks
impl Clone for EnterpriseWebhooks
Source§fn clone(&self) -> EnterpriseWebhooks
fn clone(&self) -> EnterpriseWebhooks
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 EnterpriseWebhooks
impl Debug for EnterpriseWebhooks
Source§impl Default for EnterpriseWebhooks
impl Default for EnterpriseWebhooks
Source§fn default() -> EnterpriseWebhooks
fn default() -> EnterpriseWebhooks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnterpriseWebhooks
impl<'de> Deserialize<'de> for EnterpriseWebhooks
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 EnterpriseWebhooks
impl PartialEq for EnterpriseWebhooks
Source§impl Serialize for EnterpriseWebhooks
impl Serialize for EnterpriseWebhooks
impl StructuralPartialEq for EnterpriseWebhooks
Auto Trait Implementations§
impl Freeze for EnterpriseWebhooks
impl RefUnwindSafe for EnterpriseWebhooks
impl Send for EnterpriseWebhooks
impl Sync for EnterpriseWebhooks
impl Unpin for EnterpriseWebhooks
impl UnwindSafe for EnterpriseWebhooks
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