Struct roctogen::models::PatchReposUpdateWebhook [−][src]
pub struct PatchReposUpdateWebhook { pub config: Option<ReposownerrepohookshookIdConfig>, pub events: Option<Vec<String>>, pub add_events: Option<Vec<String>>, pub remove_events: Option<Vec<String>>, pub active: Option<bool>, }
Fields
config: Option<ReposownerrepohookshookIdConfig>
events: Option<Vec<String>>
Expand description
Determines what events the hook is triggered for. This replaces the entire array of events.
add_events: Option<Vec<String>>
Expand description
Determines a list of events to be added to the list of events that the Hook triggers for.
remove_events: Option<Vec<String>>
Expand description
Determines a list of events to be removed from the list of events that the Hook triggers for.
active: Option<bool>
Expand description
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
Trait Implementations
impl Clone for PatchReposUpdateWebhook
[src]
impl Clone for PatchReposUpdateWebhook
[src]fn clone(&self) -> PatchReposUpdateWebhook
[src]
fn clone(&self) -> PatchReposUpdateWebhook
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PatchReposUpdateWebhook
[src]
impl Debug for PatchReposUpdateWebhook
[src]impl Default for PatchReposUpdateWebhook
[src]
impl Default for PatchReposUpdateWebhook
[src]fn default() -> PatchReposUpdateWebhook
[src]
fn default() -> PatchReposUpdateWebhook
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PatchReposUpdateWebhook
[src]
impl<'de> Deserialize<'de> for PatchReposUpdateWebhook
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PatchReposUpdateWebhook> for PatchReposUpdateWebhook
[src]
impl PartialEq<PatchReposUpdateWebhook> for PatchReposUpdateWebhook
[src]fn eq(&self, other: &PatchReposUpdateWebhook) -> bool
[src]
fn eq(&self, other: &PatchReposUpdateWebhook) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PatchReposUpdateWebhook) -> bool
[src]
fn ne(&self, other: &PatchReposUpdateWebhook) -> bool
[src]This method tests for !=
.
impl Serialize for PatchReposUpdateWebhook
[src]
impl Serialize for PatchReposUpdateWebhook
[src]impl StructuralPartialEq for PatchReposUpdateWebhook
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatchReposUpdateWebhook
impl Send for PatchReposUpdateWebhook
impl Sync for PatchReposUpdateWebhook
impl Unpin for PatchReposUpdateWebhook
impl UnwindSafe for PatchReposUpdateWebhook
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,