pub struct UpdateWebhookRequestContent {
pub name: Option<String>,
pub url: Option<String>,
pub subscribed_actions: Option<Vec<String>>,
}Expand description
UpdateWebhookRequestContent. Built by hand, so it derives Default and takes ..Default::default().
Fields§
§name: Option<String>name.
url: Option<String>url.
subscribed_actions: Option<Vec<String>>subscribed_actions.
Trait Implementations§
Source§impl Clone for UpdateWebhookRequestContent
impl Clone for UpdateWebhookRequestContent
Source§fn clone(&self) -> UpdateWebhookRequestContent
fn clone(&self) -> UpdateWebhookRequestContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateWebhookRequestContent
impl Debug for UpdateWebhookRequestContent
Source§impl Default for UpdateWebhookRequestContent
impl Default for UpdateWebhookRequestContent
Source§fn default() -> UpdateWebhookRequestContent
fn default() -> UpdateWebhookRequestContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateWebhookRequestContent
impl<'de> Deserialize<'de> for UpdateWebhookRequestContent
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 UpdateWebhookRequestContent
Auto Trait Implementations§
impl Freeze for UpdateWebhookRequestContent
impl RefUnwindSafe for UpdateWebhookRequestContent
impl Send for UpdateWebhookRequestContent
impl Sync for UpdateWebhookRequestContent
impl Unpin for UpdateWebhookRequestContent
impl UnsafeUnpin for UpdateWebhookRequestContent
impl UnwindSafe for UpdateWebhookRequestContent
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