Struct frankenstein::objects::Chat[][src]

pub struct Chat {
Show fields pub id: i64, pub type_field: String, pub title: Option<String>, pub username: Option<String>, pub first_name: Option<String>, pub last_name: Option<String>, pub photo: Option<ChatPhoto>, pub bio: Option<String>, pub description: Option<String>, pub invite_link: Option<String>, pub pinned_message: Option<Box<Message>>, pub permissions: Option<ChatPermissions>, pub slow_mode_delay: Option<u16>, pub message_auto_delete_time: Option<u32>, pub sticker_set_name: Option<String>, pub can_set_sticker_set: Option<bool>, pub linked_chat_id: Option<i64>, pub location: Option<ChatLocation>,
}

Fields

id: i64type_field: Stringtitle: Option<String>username: Option<String>first_name: Option<String>last_name: Option<String>photo: Option<ChatPhoto>bio: Option<String>description: Option<String>invite_link: Option<String>pinned_message: Option<Box<Message>>permissions: Option<ChatPermissions>slow_mode_delay: Option<u16>message_auto_delete_time: Option<u32>sticker_set_name: Option<String>can_set_sticker_set: Option<bool>linked_chat_id: Option<i64>location: Option<ChatLocation>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.