pub struct Webhook {
pub name: String,
pub url: String,
pub events: Vec<String>,
pub enabled: bool,
pub description: String,
pub skills: Vec<String>,
pub deliver: String,
pub deliver_chat_id: String,
pub secret: String,
pub added_at: String,
}Expand description
Webhook configuration stored in webhooks.json
Fields§
§name: String§url: String§events: Vec<String>§enabled: bool§description: String§skills: Vec<String>§deliver: String§deliver_chat_id: String§secret: String§added_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Webhook
impl<'de> Deserialize<'de> for Webhook
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 Webhook
impl RefUnwindSafe for Webhook
impl Send for Webhook
impl Sync for Webhook
impl Unpin for Webhook
impl UnsafeUnpin for Webhook
impl UnwindSafe for Webhook
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