Struct tg_botapi::methods::SetWebhook [−][src]
pub struct SetWebhook {
pub url: String,
pub certificate: InputFile,
pub max_connections: Option<i64>,
pub allowed_updates: Option<Vec<String>>,
}
Fields
url: String
certificate: InputFile
max_connections: Option<i64>
allowed_updates: Option<Vec<String>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetWebhook
impl Send for SetWebhook
impl Sync for SetWebhook
impl Unpin for SetWebhook
impl UnwindSafe for SetWebhook
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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