pub struct RegisteredWebhook {
pub created_webhook_id: Option<i64>,
pub errors: Option<Vec<String>>,
}Expand description
RegisteredWebhook : ID of a registered webhook or error messages explaining why a webhook wasn’t registered.
Fields§
§created_webhook_id: Option<i64>The ID of the webhook. Returned if the webhook is created.
errors: Option<Vec<String>>Error messages specifying why the webhook creation failed.
Implementations§
Source§impl RegisteredWebhook
impl RegisteredWebhook
Sourcepub fn new() -> RegisteredWebhook
pub fn new() -> RegisteredWebhook
ID of a registered webhook or error messages explaining why a webhook wasn’t registered.
Trait Implementations§
Source§impl Clone for RegisteredWebhook
impl Clone for RegisteredWebhook
Source§fn clone(&self) -> RegisteredWebhook
fn clone(&self) -> RegisteredWebhook
Returns a duplicate 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 RegisteredWebhook
impl Debug for RegisteredWebhook
Source§impl Default for RegisteredWebhook
impl Default for RegisteredWebhook
Source§fn default() -> RegisteredWebhook
fn default() -> RegisteredWebhook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisteredWebhook
impl<'de> Deserialize<'de> for RegisteredWebhook
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 RegisteredWebhook
impl PartialEq for RegisteredWebhook
Source§impl Serialize for RegisteredWebhook
impl Serialize for RegisteredWebhook
impl StructuralPartialEq for RegisteredWebhook
Auto Trait Implementations§
impl Freeze for RegisteredWebhook
impl RefUnwindSafe for RegisteredWebhook
impl Send for RegisteredWebhook
impl Sync for RegisteredWebhook
impl Unpin for RegisteredWebhook
impl UnwindSafe for RegisteredWebhook
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