tbot 0.3.0

Make cool Telegram bots with Rust easily.
Documentation
    Checking tbot v0.2.2 (/home/snejugal/projects/tbot)
error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/animation.rs:6:1
   |
6  | / media_message! {
7  | |     struct Animation {
8  | |         /// The animation.
9  | |         animation: types::Animation,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
note: lint level defined here
  --> src/lib.rs:47:5
   |
47 |     clippy::pedantic,
   |     ^^^^^^^^^^^^^^^^
   = note: `#[deny(clippy::must_use_candidate)]` implied by `#[deny(clippy::pedantic)]`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/audio.rs:6:1
   |
6  | / media_message! {
7  | |     struct Audio {
8  | |         /// The audio.
9  | |         audio: types::Audio,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/connected_website.rs:1:1
   |
1  | / media_message! {
2  | |     struct ConnectedWebsite {
3  | |         /// The connected website.
4  | |         website: String,
...  |
9  | |     }
10 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/contact.rs:3:1
   |
3  | / media_message! {
4  | |     struct Contact {
5  | |         /// The contact.
6  | |         contact: types::Contact,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/created_group.rs:1:1
   |
1  | / message_base! {
2  | |     struct CreatedGroup { } -> EventLoop::created_group
3  | |
4  | |     fn new() -> Self {
5  | |         Self {}
6  | |     }
7  | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/deleted_chat_photo.rs:1:1
   |
1  | / message_base! {
2  | |     struct DeletedChatPhoto { } -> EventLoop::deleted_chat_photo
3  | |
4  | |     fn new() -> Self {
5  | |         Self {}
6  | |     }
7  | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/document.rs:6:1
   |
6  | / media_message! {
7  | |     struct Document {
8  | |         /// The document.
9  | |         document: types::Document,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/document.rs:22:5
   |
22 |     fn document(&self) -> &types::Document {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn document(&self) -> &types::Document`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/document.rs:28:5
   |
28 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/document.rs:34:5
   |
34 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_animation.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedAnimation {
8  | |         /// The animation.
9  | |         animation: Animation,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_animation.rs:22:5
   |
22 |     fn animation(&self) -> &Animation {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn animation(&self) -> &Animation`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_animation.rs:28:5
   |
28 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_animation.rs:34:5
   |
34 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_audio.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedAudio {
8  | |         /// The audio.
9  | |         audio: Audio,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_audio.rs:22:5
   |
22 |     fn audio(&self) -> &Audio {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn audio(&self) -> &Audio`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_audio.rs:28:5
   |
28 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_audio.rs:34:5
   |
34 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_document.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedDocument {
8  | |         /// The document.
9  | |         document: Document,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_document.rs:22:5
   |
22 |     fn document(&self) -> &Document {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn document(&self) -> &Document`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_document.rs:28:5
   |
28 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_document.rs:34:5
   |
34 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_location.rs:3:1
   |
3  | / edited_message! {
4  | |     struct EditedLocation {
5  | |         /// The location.
6  | |         location: Location,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_location.rs:15:5
   |
15 |     fn location(&self) -> &Location {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn location(&self) -> &Location`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_photo.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedPhoto {
8  | |         /// The photo.
9  | |         photo: Vec<PhotoSize>,
...  |
21 | |     }
22 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_photo.rs:25:5
   |
25 |     fn photo(&self) -> &[PhotoSize] {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn photo(&self) -> &[PhotoSize]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_photo.rs:31:5
   |
31 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_photo.rs:37:5
   |
37 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_text.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedText {
8  | |         /// The text of the message.
9  | |         text: Text,
...  |
14 | |     }
15 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_text.rs:18:5
   |
18 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_text.rs:24:5
   |
24 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/edited_video.rs:6:1
   |
6  | / edited_message! {
7  | |     struct EditedVideo {
8  | |         /// The video.
9  | |         video: Video,
...  |
21 | |     }
22 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_video.rs:25:5
   |
25 |     fn video(&self) -> &Video {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn video(&self) -> &Video`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_video.rs:31:5
   |
31 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/edited_video.rs:37:5
   |
37 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/game.rs:3:1
   |
3  | / media_message! {
4  | |     struct Game {
5  | |         /// The game.
6  | |         game: types::Game,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/invoice.rs:3:1
   |
3  | / media_message! {
4  | |     struct Invoice {
5  | |         /// The invoice.
6  | |         invoice: types::Invoice,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/left_member.rs:3:1
   |
3  | / message_base! {
4  | |     struct LeftMember {
5  | |         /// The left member.
6  | |         member: User,
...  |
13 | |     }
14 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/location.rs:3:1
   |
3  | / media_message! {
4  | |     struct Location {
5  | |         /// The location.
6  | |         location: types::Location,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/location.rs:15:5
   |
15 |     fn location(&self) -> &types::Location {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn location(&self) -> &types::Location`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/migration.rs:3:1
   |
3  | / message_base! {
4  | |     struct Migration {
5  | |         /// The old ID of the group.
6  | |         old_id: chat::Id,
...  |
13 | |     }
14 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/new_chat_photo.rs:3:1
   |
3  | / message_base! {
4  | |     struct NewChatPhoto {
5  | |         /// The photo.
6  | |         photo: Vec<PhotoSize>,
...  |
13 | |     }
14 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/new_chat_title.rs:1:1
   |
1  | / message_base! {
2  | |     struct NewChatTitle {
3  | |         /// The title.
4  | |         title: String,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/new_members.rs:3:1
   |
3  | / message_base! {
4  | |     struct NewMembers {
5  | |         /// The new members.
6  | |         members: Vec<User>,
...  |
13 | |     }
14 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/passport.rs:3:1
   |
3  | / media_message! {
4  | |     struct Passport {
5  | |         /// The passport data.
6  | |         passport_data: passport::Data,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/payment.rs:3:1
   |
3  | / media_message! {
4  | |     struct Payment {
5  | |         /// Information about the payment.
6  | |         invoice: SuccessfulPayment,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/photo.rs:6:1
   |
6  | / media_message! {
7  | |     struct Photo {
8  | |         /// The photo.
9  | |         photo: Vec<PhotoSize>,
...  |
21 | |     }
22 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/photo.rs:25:5
   |
25 |     fn photo(&self) -> &[PhotoSize] {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn photo(&self) -> &[PhotoSize]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/photo.rs:31:5
   |
31 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/photo.rs:37:5
   |
37 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/pinned_message.rs:3:1
   |
3  | / message_base! {
4  | |     struct PinnedMessage {
5  | |         /// The pinned message.
6  | |         message: Message,
...  |
13 | |     }
14 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/poll.rs:3:1
   |
3  | / media_message! {
4  | |     struct Poll {
5  | |         /// The poll.
6  | |         poll: types::Poll,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/sticker.rs:3:1
   |
3  | / media_message! {
4  | |     struct Sticker {
5  | |         /// The sticker.
6  | |         sticker: types::Sticker,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/text.rs:6:1
   |
6  | / media_message! {
7  | |     struct Text {
8  | |         /// The text of the message.
9  | |         text: message::Text,
...  |
14 | |     }
15 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/text.rs:18:5
   |
18 |     fn text(&self) -> &message::Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &message::Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/text.rs:24:5
   |
24 |     fn text(&self) -> &message::Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &message::Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/venue.rs:3:1
   |
3  | / media_message! {
4  | |     struct Venue {
5  | |         /// The venue.
6  | |         venue: types::Venue,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/video.rs:6:1
   |
6  | / media_message! {
7  | |     struct Video {
8  | |         /// The video.
9  | |         video: types::Video,
...  |
21 | |     }
22 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/video.rs:25:5
   |
25 |     fn video(&self) -> &types::Video {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn video(&self) -> &types::Video`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/video.rs:31:5
   |
31 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/video.rs:37:5
   |
37 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/video_note.rs:3:1
   |
3  | / media_message! {
4  | |     struct VideoNote {
5  | |         /// The video note.
6  | |         video_note: types::VideoNote,
...  |
11 | |     }
12 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/macros/message_base.rs:73:13
   |
73 |               fn chat(&self) -> &crate::types::Chat {
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn chat(&self) -> &crate::types::Chat`
   | 
  ::: src/contexts/voice.rs:6:1
   |
6  | / media_message! {
7  | |     struct Voice {
8  | |         /// The voice.
9  | |         voice: types::Voice,
...  |
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/voice.rs:22:5
   |
22 |     fn caption(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn caption(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/contexts/voice.rs:28:5
   |
28 |     fn text(&self) -> &Text {
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn text(&self) -> &Text`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/animation.rs:32:5
   |
32 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/audio.rs:32:5
   |
32 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/callback/query/id.rs:19:5
   |
19 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/callback/query/id.rs:28:5
   |
28 |     pub fn to_owned(&self) -> Id {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> Id`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/callback/query/id.rs:34:5
   |
34 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/callback/query/id.rs:40:5
   |
40 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/id.rs:11:5
   |
11 |     fn from(id: i64) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: i64) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/id.rs:23:5
   |
23 |     fn from(id: user::Id) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: user::Id) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:47:5
   |
47 |     pub fn new() -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new() -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:52:5
   |
52 |     pub fn can_send_messages(mut self, can_send: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_send_messages(mut self, can_send: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:58:5
   |
58 |     pub fn can_send_media_messages(mut self, can_send: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_send_media_messages(mut self, can_send: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:64:5
   |
64 |     pub fn can_send_polls(mut self, can_send: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_send_polls(mut self, can_send: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:71:5
   |
71 |     pub fn can_send_other_messages(mut self, can_send: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_send_other_messages(mut self, can_send: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:77:5
   |
77 |     pub fn can_add_web_page_previews(mut self, can_add: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_add_web_page_previews(mut self, can_add: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:83:5
   |
83 |     pub fn can_change_info(mut self, can_change: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_change_info(mut self, can_change: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:89:5
   |
89 |     pub fn can_invite_users(mut self, can_invite: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_invite_users(mut self, can_invite: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/chat/permissions.rs:95:5
   |
95 |     pub fn can_pin_messages(mut self, can_pin: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn can_pin_messages(mut self, can_pin: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/document.rs:28:5
   |
28 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:20:5
   |
20 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:29:5
   |
29 |     pub fn to_owned(&self) -> Id {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> Id`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:35:5
   |
35 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:41:5
   |
41 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:73:5
   |
73 |     fn as_file_id(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/file/id.rs:79:5
   |
79 |     fn as_file_id(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_message_id.rs:19:5
   |
19 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_message_id.rs:28:5
   |
28 |     pub fn to_owned(&self) -> InlineMessageId {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> InlineMessageId`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_message_id.rs:34:5
   |
34 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_message_id.rs:40:5
   |
40 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/id.rs:19:5
   |
19 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/id.rs:28:5
   |
28 |     pub fn to_owned(&self) -> Id {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> Id`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/id.rs:34:5
   |
34 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/id.rs:40:5
   |
40 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/article.rs:43:5
   |
43 |     pub fn url(mut self, url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(mut self, url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/article.rs:49:5
   |
49 |     pub fn url_visibility(mut self, visibility: UrlVisibility) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url_visibility(mut self, visibility: UrlVisibility) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/article.rs:55:5
   |
55 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/article.rs:61:5
   |
61 |     pub fn description(mut self, description: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn description(mut self, description: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/audio.rs:55:5
   |
55 |     pub const fn new(url: &'a str, title: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str, title: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/audio.rs:65:5
   |
65 |     pub fn performer(mut self, performer: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn performer(mut self, performer: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/audio.rs:71:5
   |
71 |     pub fn duration(mut self, duration: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/audio.rs:88:5
   |
88 |     pub fn cached(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn cached(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/audio.rs:93:5
   |
93 |     pub fn fresh(audio: Fresh<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn fresh(audio: Fresh<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/document.rs:80:5
   |
80 |     pub const fn new(url: &'a str, mime_type: MimeType) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str, mime_type: MimeType) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/document.rs:89:5
   |
89 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/document.rs:108:5
    |
108 |     pub fn cached(title: &'a str, id: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn cached(title: &'a str, id: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/document.rs:113:5
    |
113 |     pub fn fresh(title: &'a str, document: Fresh<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn fresh(title: &'a str, document: Fresh<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/document.rs:118:5
    |
118 |     pub fn description(mut self, description: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn description(mut self, description: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:54:5
   |
54 |     pub const fn new(thumb_url: &'a str, url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(thumb_url: &'a str, url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:64:5
   |
64 |     pub fn width(mut self, width: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:70:5
   |
70 |     pub fn height(mut self, height: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:89:5
   |
89 |     pub fn cached(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn cached(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:94:5
   |
94 |     pub fn fresh(photo: Fresh<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn fresh(photo: Fresh<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/photo.rs:99:5
   |
99 |     pub fn title(mut self, title: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn title(mut self, title: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/photo.rs:105:5
    |
105 |     pub fn description(mut self, description: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn description(mut self, description: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/video.rs:85:5
   |
85 | /     pub const fn new(
86 | |         url: &'a str,
87 | |         mime_type: MimeType,
88 | |         thumb_url: &'a str,
89 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
85 |     #[must_use] pub const fn new(
86 |         url: &'a str,
87 |         mime_type: MimeType,
88 |         thumb_url: &'a str,
89 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:101:5
    |
101 |     pub fn width(mut self, width: usize) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: usize) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:107:5
    |
107 |     pub fn height(mut self, height: usize) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: usize) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:113:5
    |
113 |     pub fn duration(mut self, duration: usize) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: usize) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:132:5
    |
132 |     pub fn cached(title: &'a str, id: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn cached(title: &'a str, id: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:137:5
    |
137 |     pub fn fresh(title: &'a str, video: Fresh<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn fresh(title: &'a str, video: Fresh<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result/video.rs:142:5
    |
142 |     pub fn description(mut self, description: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn description(mut self, description: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/voice.rs:53:5
   |
53 |     pub const fn new(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/voice.rs:61:5
   |
61 |     pub fn duration(mut self, duration: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/voice.rs:79:5
   |
79 |     pub fn cached(title: &'a str, id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn cached(title: &'a str, id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/voice.rs:84:5
   |
84 |     pub fn fresh(title: &'a str, voice: Fresh<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn fresh(title: &'a str, voice: Fresh<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/contact.rs:24:5
   |
24 |     pub const fn new(phone_number: &'a str, first_name: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(phone_number: &'a str, first_name: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/contact.rs:36:5
   |
36 |     pub fn last_name(mut self, name: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn last_name(mut self, name: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/contact.rs:42:5
   |
42 |     pub fn vcard(mut self, vcard: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn vcard(mut self, vcard: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/contact.rs:48:5
   |
48 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/game.rs:13:5
   |
13 |     pub const fn new(game_short_name: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(game_short_name: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/location.rs:23:5
   |
23 | /     pub const fn new(
24 | |         title: &'a str,
25 | |         (latitude, longitude): (f64, f64),
26 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
23 |     #[must_use] pub const fn new(
24 |         title: &'a str,
25 |         (latitude, longitude): (f64, f64),
26 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/location.rs:38:5
   |
38 |     pub fn live_period(mut self, period: u64) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn live_period(mut self, period: u64) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/location.rs:53:5
   |
53 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/sticker.rs:17:5
   |
17 |     pub const fn new(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/venue.rs:26:5
   |
26 | /     pub const fn new(
27 | |         title: &'a str,
28 | |         (latitude, longitude): (f64, f64),
29 | |         address: &'a str,
30 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
26 |     #[must_use] pub const fn new(
27 |         title: &'a str,
28 |         (latitude, longitude): (f64, f64),
29 |         address: &'a str,
30 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/venue.rs:44:5
   |
44 |     pub fn foursquare_id(mut self, id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn foursquare_id(mut self, id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/venue.rs:50:5
   |
50 |     pub fn foursquare_type(mut self, foursquare_type: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn foursquare_type(mut self, foursquare_type: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/venue.rs:56:5
   |
56 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/thumb.rs:16:5
   |
16 |     pub const fn new(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/thumb.rs:25:5
   |
25 |     pub fn width(mut self, width: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/inline_query/result/thumb.rs:31:5
   |
31 |     pub fn height(mut self, height: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:221:5
    |
221 |     pub fn reply_markup(mut self, markup: inline::Keyboard<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn reply_markup(mut self, markup: inline::Keyboard<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:228:5
    |
228 |     fn from(audio: Audio<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(audio: Audio<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:234:5
    |
234 |     fn from(document: Document<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(document: Document<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:240:5
    |
240 |     fn from(gif: Gif<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(gif: Gif<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:246:5
    |
246 |     fn from(gif: Mpeg4Gif<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(gif: Mpeg4Gif<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:252:5
    |
252 |     fn from(photo: Photo<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(photo: Photo<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:258:5
    |
258 |     fn from(sticker: Sticker<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(sticker: Sticker<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:264:5
    |
264 |     fn from(video: Video<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(video: Video<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:270:5
    |
270 |     fn from(voice: Voice<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(voice: Voice<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:276:5
    |
276 |     fn from(article: Article<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(article: Article<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:282:5
    |
282 |     fn from(contact: Contact<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(contact: Contact<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:288:5
    |
288 |     fn from(game: Game<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(game: Game<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:294:5
    |
294 |     fn from(location: Location<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(location: Location<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/inline_query/result.rs:300:5
    |
300 |     fn from(venue: Venue<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(venue: Venue<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:31:5
   |
31 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:42:5
   |
42 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:56:5
   |
56 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:66:5
   |
66 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:81:5
   |
81 |     pub fn duration(mut self, duration: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:87:5
   |
87 |     pub fn width(mut self, width: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/animation.rs:93:5
   |
93 |     pub fn height(mut self, height: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:31:5
   |
31 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:43:5
   |
43 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:57:5
   |
57 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:67:5
   |
67 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:82:5
   |
82 |     pub fn duration(mut self, duration: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:88:5
   |
88 |     pub fn performer(mut self, performer: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn performer(mut self, performer: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/audio.rs:94:5
   |
94 |     pub fn title(mut self, title: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn title(mut self, title: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/chat_photo.rs:12:5
   |
12 |     pub fn new(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/document.rs:25:5
   |
25 |     pub fn bytes(filename: &'a str, bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(filename: &'a str, bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/document.rs:34:5
   |
34 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/document.rs:48:5
   |
48 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/document.rs:58:5
   |
58 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/editable_media.rs:79:5
   |
79 |     fn from(animation: Animation<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(animation: Animation<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/editable_media.rs:85:5
   |
85 |     fn from(audio: Audio<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(audio: Audio<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/editable_media.rs:91:5
   |
91 |     fn from(document: Document<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(document: Document<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/editable_media.rs:97:5
   |
97 |     fn from(photo: Photo<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(photo: Photo<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/input_file/editable_media.rs:103:5
    |
103 |     fn from(video: Video<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(video: Video<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/group_media.rs:69:5
   |
69 |     fn from(photo: Photo<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(photo: Photo<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/group_media.rs:75:5
   |
75 |     fn from(video: Video<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(video: Video<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/photo.rs:23:5
   |
23 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/photo.rs:35:5
   |
35 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/photo.rs:49:5
   |
49 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/png_sticker.rs:16:5
   |
16 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/png_sticker.rs:28:5
   |
28 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/png_sticker.rs:42:5
   |
42 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/sticker.rs:16:5
   |
16 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/sticker.rs:28:5
   |
28 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/sticker.rs:42:5
   |
42 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/thumb.rs:12:5
   |
12 |     pub fn new(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:33:5
   |
33 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:45:5
   |
45 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:59:5
   |
59 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:69:5
   |
69 |     pub fn thumb(mut self, thumb: super::Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: super::Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:84:5
   |
84 |     pub fn width(mut self, width: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:90:5
   |
90 |     pub fn height(mut self, height: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video.rs:96:5
   |
96 |     pub fn duration(mut self, duration: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/input_file/video.rs:102:5
    |
102 |     pub fn supports_streaming(mut self, is_streamed: bool) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn supports_streaming(mut self, is_streamed: bool) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:27:5
   |
27 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:39:5
   |
39 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:53:5
   |
53 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:63:5
   |
63 |     pub fn duration(mut self, duration: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:69:5
   |
69 |     pub fn length(mut self, length: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn length(mut self, length: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/video_note.rs:75:5
   |
75 |     pub fn thumb(mut self, thumb: Thumb<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn thumb(mut self, thumb: Thumb<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/voice.rs:28:5
   |
28 |     pub fn bytes(bytes: &'a [u8]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bytes(bytes: &'a [u8]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/voice.rs:40:5
   |
40 |     pub fn id(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn id(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/voice.rs:54:5
   |
54 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_file/voice.rs:63:5
   |
63 |     pub fn duration(mut self, duration: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn duration(mut self, duration: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/contact.rs:18:5
   |
18 |     pub const fn new(phone_number: &'a str, first_name: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(phone_number: &'a str, first_name: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/contact.rs:28:5
   |
28 |     pub fn last_name(mut self, last_name: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn last_name(mut self, last_name: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/contact.rs:34:5
   |
34 |     pub fn vcard(mut self, vcard: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn vcard(mut self, vcard: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/location.rs:16:5
   |
16 |     pub const fn new((latitude, longitude): (f64, f64)) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new((latitude, longitude): (f64, f64)) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/location.rs:25:5
   |
25 |     pub fn live_period(mut self, period: u64) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn live_period(mut self, period: u64) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/text.rs:29:5
   |
29 |     pub fn web_page_preview(mut self, state: WebPagePreviewState) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn web_page_preview(mut self, state: WebPagePreviewState) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/venue.rs:20:5
   |
20 | /     pub const fn new(
21 | |         (latitude, longitude): (f64, f64),
22 | |         title: &'a str,
23 | |         address: &'a str,
24 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
20 |     #[must_use] pub const fn new(
21 |         (latitude, longitude): (f64, f64),
22 |         title: &'a str,
23 |         address: &'a str,
24 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/venue.rs:36:5
   |
36 |     pub fn foursquare_id(mut self, id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn foursquare_id(mut self, id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content/venue.rs:42:5
   |
42 |     pub fn foursquare_type(mut self, foursquare_type: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn foursquare_type(mut self, foursquare_type: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content.rs:68:5
   |
68 |     fn from(text: Text<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(text: Text<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content.rs:74:5
   |
74 |     fn from(location: Location) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(location: Location) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content.rs:80:5
   |
80 |     fn from(venue: Venue<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(venue: Venue<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/input_message_content.rs:86:5
   |
86 |     fn from(contact: Contact<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(contact: Contact<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:58:5
   |
58 |     fn from(keyboard: inline::Keyboard<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: inline::Keyboard<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:64:5
   |
64 |     fn from(keyboard: inline::Markup<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: inline::Markup<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:70:5
   |
70 |     fn from(keyboard: reply::Keyboard<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: reply::Keyboard<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:76:5
   |
76 |     fn from(keyboard: reply::Markup<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: reply::Markup<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:82:5
   |
82 |     fn from(keyboard: reply::Remove) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: reply::Remove) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/any.rs:88:5
   |
88 |     fn from(keyboard: ForceReply) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(keyboard: ForceReply) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/force_reply.rs:14:5
   |
14 |     pub const fn new() -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new() -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/force_reply.rs:19:5
   |
19 |     pub fn selective(mut self, is_selective: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn selective(mut self, is_selective: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/keyboard/inline.rs:157:5
    |
157 |     pub const fn new(buttons: Markup<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(buttons: Markup<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/keyboard/inline.rs:165:5
    |
165 |     fn from(markup: Markup<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(markup: Markup<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:45:5
   |
45 |     pub const fn new(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:54:5
   |
54 |     pub fn request_contact(mut self, is_requested: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn request_contact(mut self, is_requested: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:60:5
   |
60 |     pub fn request_localization(mut self, is_requested: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn request_localization(mut self, is_requested: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:68:5
   |
68 |     pub const fn new(keyboard: Markup<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(keyboard: Markup<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:78:5
   |
78 |     pub fn resize_keyboard(mut self, is_resized: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn resize_keyboard(mut self, is_resized: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:84:5
   |
84 |     pub fn one_time_keyboard(mut self, is_one_time: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn one_time_keyboard(mut self, is_one_time: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:90:5
   |
90 |     pub fn selective(mut self, is_selective: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn selective(mut self, is_selective: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/keyboard/reply.rs:97:5
   |
97 |     fn from(markup: Markup<'a>) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(markup: Markup<'a>) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/keyboard/reply.rs:104:5
    |
104 |     pub const fn new() -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new() -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/keyboard/reply.rs:109:5
    |
109 |     pub fn selective(mut self, is_selective: bool) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn selective(mut self, is_selective: bool) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/labeled_price.rs:15:5
   |
15 |     pub const fn new(label: &'a str, amount: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(label: &'a str, amount: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/login_url.rs:19:5
   |
19 |     pub const fn new(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/login_url.rs:29:5
   |
29 |     pub fn forward_text(mut self, text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn forward_text(mut self, text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/login_url.rs:35:5
   |
35 |     pub fn bot_username(mut self, username: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bot_username(mut self, username: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/login_url.rs:41:5
   |
41 |     pub fn request_write_access(mut self, should_request: bool) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn request_write_access(mut self, should_request: bool) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/message/id.rs:10:5
   |
10 |     fn from(id: u32) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: u32) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/callback_action.rs:23:5
   |
23 |     pub const fn none() -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn none() -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/callback_action.rs:28:5
   |
28 |     pub fn notification(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn notification(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/callback_action.rs:33:5
   |
33 |     pub fn alert(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn alert(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/callback_action.rs:38:5
   |
38 |     pub fn url(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn url(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/chat_id.rs:36:5
   |
36 |     fn from(id: i64) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: i64) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/chat_id.rs:42:5
   |
42 |     fn from(id: chat::Id) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: chat::Id) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/chat_id.rs:48:5
   |
48 |     fn from(id: user::Id) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: user::Id) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/chat_id.rs:54:5
   |
54 |     fn from(username: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(username: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/photo.rs:18:5
   |
18 |     pub const fn new(url: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(url: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/photo.rs:28:5
   |
28 |     pub fn size(mut self, size: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn size(mut self, size: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/photo.rs:34:5
   |
34 |     pub fn width(mut self, width: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn width(mut self, width: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/photo.rs:40:5
   |
40 |     pub fn height(mut self, height: usize) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn height(mut self, height: usize) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/text.rs:29:5
   |
29 |     pub const fn plain(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn plain(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/text.rs:37:5
   |
37 |     pub fn markdown(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn markdown(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/text.rs:45:5
   |
45 |     pub fn html(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn html(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/text.rs:72:5
   |
72 |     fn from(text: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(text: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/parameters/text.rs:78:5
   |
78 |     fn from(text: &'a String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(text: &'a String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/data.rs:75:5
   |
75 | /     pub const fn new(
76 | |         kind: Kind,
77 | |         field_name: &'a str,
78 | |         data_hash: &'a str,
79 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
75 |     #[must_use] pub const fn new(
76 |         kind: Kind,
77 |         field_name: &'a str,
78 |         data_hash: &'a str,
79 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/file.rs:66:5
   |
66 |     pub const fn new(kind: Kind, file_hash: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hash: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/file.rs:83:5
   |
83 |     pub const fn new(kind: Kind, file_hashes: &'a [&'a str]) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hashes: &'a [&'a str]) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/front_side.rs:57:5
   |
57 |     pub const fn new(kind: Kind, file_hash: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hash: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/reverse_side.rs:42:5
   |
42 |     pub const fn new(kind: Kind, file_hash: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hash: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/selfie.rs:58:5
   |
58 |     pub const fn new(kind: Kind, file_hash: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hash: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/element/error/source/translation_file.rs:98:5
   |
98 |     pub const fn new(kind: Kind, file_hash: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hash: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source/translation_file.rs:115:5
    |
115 |     pub const fn new(kind: Kind, file_hashes: &'a [&'a str]) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, file_hashes: &'a [&'a str]) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source/unspecified.rs:130:5
    |
130 |     pub const fn new(kind: Kind, element_hash: &'a str) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub const fn new(kind: Kind, element_hash: &'a str) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:130:5
    |
130 |     fn from(source: Data<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: Data<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:136:5
    |
136 |     fn from(source: FrontSide<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: FrontSide<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:142:5
    |
142 |     fn from(source: ReverseSide<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: ReverseSide<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:148:5
    |
148 |     fn from(source: Selfie<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: Selfie<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:154:5
    |
154 |     fn from(source: File<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: File<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:160:5
    |
160 |     fn from(source: Files<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: Files<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:166:5
    |
166 |     fn from(source: TranslationFile<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: TranslationFile<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:172:5
    |
172 |     fn from(source: TranslationFiles<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: TranslationFiles<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
   --> src/types/passport/element/error/source.rs:178:5
    |
178 |     fn from(source: Unspecified<'a>) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(source: Unspecified<'a>) -> Self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/passport/file.rs:21:5
   |
21 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/photo_size.rs:23:5
   |
23 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/pre_checkout_query/id.rs:19:5
   |
19 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/pre_checkout_query/id.rs:28:5
   |
28 |     pub fn to_owned(&self) -> Id {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> Id`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/pre_checkout_query/id.rs:34:5
   |
34 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/pre_checkout_query/id.rs:40:5
   |
40 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/shipping/option.rs:16:5
   |
16 | /     pub const fn new(
17 | |         id: &'a str,
18 | |         title: &'a str,
19 | |         prices: &'a [LabeledPrice<'a>],
20 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
   |
16 |     #[must_use] pub const fn new(
17 |         id: &'a str,
18 |         title: &'a str,
19 |         prices: &'a [LabeledPrice<'a>],
20 |     ) -> Self {
   |

error: this method could have a `#[must_use]` attribute
  --> src/types/shipping/query/id.rs:19:5
   |
19 |     pub fn as_ref(&self) -> Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn as_ref(&self) -> Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/shipping/query/id.rs:28:5
   |
28 |     pub fn to_owned(&self) -> Id {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn to_owned(&self) -> Id`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/shipping/query/id.rs:34:5
   |
34 |     fn from(id: String) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: String) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/shipping/query/id.rs:40:5
   |
40 |     fn from(id: &'a str) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: &'a str) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/sticker.rs:56:5
   |
56 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/user/id.rs:10:5
   |
10 |     fn from(id: i64) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn from(id: i64) -> Self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/video.rs:32:5
   |
32 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/video_note.rs:28:5
   |
28 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: this method could have a `#[must_use]` attribute
  --> src/types/voice.rs:23:5
   |
23 |     fn as_file_id(&self) -> file::id::Ref<'_> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] fn as_file_id(&self) -> file::id::Ref<'_>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate

error: aborting due to 303 previous errors

error: could not compile `tbot`.

To learn more, run the command again with --verbose.