Struct tg_botapi::types::WebhookInfo [−][src]
pub struct WebhookInfo {
pub url: String,
pub has_custom_certificate: bool,
pub pending_update_count: i64,
pub last_error_date: Option<i64>,
pub last_error_message: Option<String>,
pub max_connections: Option<i64>,
pub allowed_updates: Option<Vec<String>>,
}
Fields
url: String
has_custom_certificate: bool
pending_update_count: i64
last_error_date: Option<i64>
last_error_message: Option<String>
max_connections: Option<i64>
allowed_updates: Option<Vec<String>>
Trait Implementations
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 RefUnwindSafe for WebhookInfo
impl Send for WebhookInfo
impl Sync for WebhookInfo
impl Unpin for WebhookInfo
impl UnwindSafe for WebhookInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more