mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-23 07:09:34 +01:00
Mark webhooks::Options
as #[must_use]
This commit is contained in:
parent
e8ce86df8b
commit
db59b47674
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ use std::net::SocketAddr;
|
|||
use crate::{requests::Requester, types::InputFile};
|
||||
|
||||
/// Options related to setting up webhooks.
|
||||
#[must_use]
|
||||
pub struct Options {
|
||||
/// Local address to listen to.
|
||||
pub address: SocketAddr,
|
||||
|
|
Loading…
Add table
Reference in a new issue