pub struct WebhookRepositoryPublicized {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Box<RepositoryWebhooks>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Box<RepositoryWebhooks>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookRepositoryPublicized
impl WebhookRepositoryPublicized
pub fn new( action: Action, repository: RepositoryWebhooks, sender: SimpleUserWebhooks, ) -> WebhookRepositoryPublicized
Trait Implementations§
Source§impl Clone for WebhookRepositoryPublicized
impl Clone for WebhookRepositoryPublicized
Source§fn clone(&self) -> WebhookRepositoryPublicized
fn clone(&self) -> WebhookRepositoryPublicized
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 WebhookRepositoryPublicized
impl Debug for WebhookRepositoryPublicized
Source§impl Default for WebhookRepositoryPublicized
impl Default for WebhookRepositoryPublicized
Source§fn default() -> WebhookRepositoryPublicized
fn default() -> WebhookRepositoryPublicized
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookRepositoryPublicized
impl<'de> Deserialize<'de> for WebhookRepositoryPublicized
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 WebhookRepositoryPublicized
Auto Trait Implementations§
impl Freeze for WebhookRepositoryPublicized
impl RefUnwindSafe for WebhookRepositoryPublicized
impl Send for WebhookRepositoryPublicized
impl Sync for WebhookRepositoryPublicized
impl Unpin for WebhookRepositoryPublicized
impl UnwindSafe for WebhookRepositoryPublicized
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