Struct octorust::types::ReposUpdateWebhookRequest
source · pub struct ReposUpdateWebhookRequest {
pub active: Option<bool>,
pub add_events: Vec<String>,
pub config: Option<ReposUpdateWebhookRequestConfig>,
pub events: Vec<String>,
pub remove_events: Vec<String>,
}
Fields§
§active: Option<bool>
§add_events: Vec<String>
The list of events for the GitHub app
config: Option<ReposUpdateWebhookRequestConfig>
Key/value pairs to provide settings for this webhook. These are defined below.
events: Vec<String>
The list of events for the GitHub app
remove_events: Vec<String>
The list of events for the GitHub app
Trait Implementations§
source§impl Clone for ReposUpdateWebhookRequest
impl Clone for ReposUpdateWebhookRequest
source§fn clone(&self) -> ReposUpdateWebhookRequest
fn clone(&self) -> ReposUpdateWebhookRequest
Returns a copy 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 ReposUpdateWebhookRequest
impl Debug for ReposUpdateWebhookRequest
source§impl<'de> Deserialize<'de> for ReposUpdateWebhookRequest
impl<'de> Deserialize<'de> for ReposUpdateWebhookRequest
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 JsonSchema for ReposUpdateWebhookRequest
impl JsonSchema for ReposUpdateWebhookRequest
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<ReposUpdateWebhookRequest> for ReposUpdateWebhookRequest
impl PartialEq<ReposUpdateWebhookRequest> for ReposUpdateWebhookRequest
source§fn eq(&self, other: &ReposUpdateWebhookRequest) -> bool
fn eq(&self, other: &ReposUpdateWebhookRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReposUpdateWebhookRequest
Auto Trait Implementations§
impl RefUnwindSafe for ReposUpdateWebhookRequest
impl Send for ReposUpdateWebhookRequest
impl Sync for ReposUpdateWebhookRequest
impl Unpin for ReposUpdateWebhookRequest
impl UnwindSafe for ReposUpdateWebhookRequest
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