pub struct WebhookResponse {
pub webhook: Option<Box<Webhook>>,
pub webhooks: Option<Vec<Webhook>>,
}
Expand description
WebhookResponse : Webhook API response object.
Fields§
§webhook: Option<Box<Webhook>>
§webhooks: Option<Vec<Webhook>>
Implementations§
Source§impl WebhookResponse
impl WebhookResponse
Sourcepub fn new() -> WebhookResponse
pub fn new() -> WebhookResponse
Webhook API response object.
Trait Implementations§
Source§impl Clone for WebhookResponse
impl Clone for WebhookResponse
Source§fn clone(&self) -> WebhookResponse
fn clone(&self) -> WebhookResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhookResponse
impl Debug for WebhookResponse
Source§impl Default for WebhookResponse
impl Default for WebhookResponse
Source§fn default() -> WebhookResponse
fn default() -> WebhookResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookResponse
impl<'de> Deserialize<'de> for WebhookResponse
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 PartialEq for WebhookResponse
impl PartialEq for WebhookResponse
Source§impl Serialize for WebhookResponse
impl Serialize for WebhookResponse
impl StructuralPartialEq for WebhookResponse
Auto Trait Implementations§
impl Freeze for WebhookResponse
impl RefUnwindSafe for WebhookResponse
impl Send for WebhookResponse
impl Sync for WebhookResponse
impl Unpin for WebhookResponse
impl UnwindSafe for WebhookResponse
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