update comment in src/types/webhook_info.rs

Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
Giga Maxim 2022-01-12 19:49:30 +03:00 committed by GitHub
parent f2d98fdb8a
commit f02ed38bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ use serde::{Deserialize, Serialize};
#[serde_with_macros::skip_serializing_none]
#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
pub struct WebhookInfo {
#[serde(with = "crate::types::option_url_from_string")]
/// Webhook URL, `None` if webhook is not set up.
#[serde(with = "crate::types::option_url_from_string")]
pub url: Option<reqwest::Url>,
/// `true`, if a custom certificate was provided for webhook certificate