pub struct WebhookInstallationSuspend {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Box<Installation>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repositories: Option<Vec<WebhooksRepositoriesInner>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub requester: Option<Option<Value>>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Box<Installation>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repositories: Option<Vec<WebhooksRepositoriesInner>>
An array of repository objects that the installation can access.
repository: Option<Box<RepositoryWebhooks>>
§requester: Option<Option<Value>>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookInstallationSuspend
impl WebhookInstallationSuspend
pub fn new( action: Action, installation: Installation, sender: SimpleUserWebhooks, ) -> WebhookInstallationSuspend
Trait Implementations§
Source§impl Clone for WebhookInstallationSuspend
impl Clone for WebhookInstallationSuspend
Source§fn clone(&self) -> WebhookInstallationSuspend
fn clone(&self) -> WebhookInstallationSuspend
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 WebhookInstallationSuspend
impl Debug for WebhookInstallationSuspend
Source§impl Default for WebhookInstallationSuspend
impl Default for WebhookInstallationSuspend
Source§fn default() -> WebhookInstallationSuspend
fn default() -> WebhookInstallationSuspend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookInstallationSuspend
impl<'de> Deserialize<'de> for WebhookInstallationSuspend
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
impl StructuralPartialEq for WebhookInstallationSuspend
Auto Trait Implementations§
impl Freeze for WebhookInstallationSuspend
impl RefUnwindSafe for WebhookInstallationSuspend
impl Send for WebhookInstallationSuspend
impl Sync for WebhookInstallationSuspend
impl Unpin for WebhookInstallationSuspend
impl UnwindSafe for WebhookInstallationSuspend
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