pub struct WebhookDefinition {
pub name: String,
pub method: String,
}Fields§
§name: String§method: StringTrait Implementations§
Source§impl Clone for WebhookDefinition
impl Clone for WebhookDefinition
Source§fn clone(&self) -> WebhookDefinition
fn clone(&self) -> WebhookDefinition
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 WebhookDefinition
impl Debug for WebhookDefinition
Source§impl<'de> Deserialize<'de> for WebhookDefinition
impl<'de> Deserialize<'de> for WebhookDefinition
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
Auto Trait Implementations§
impl Freeze for WebhookDefinition
impl RefUnwindSafe for WebhookDefinition
impl Send for WebhookDefinition
impl Sync for WebhookDefinition
impl Unpin for WebhookDefinition
impl UnsafeUnpin for WebhookDefinition
impl UnwindSafe for WebhookDefinition
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