pub struct CapturedChat {
pub chat_id: i64,
pub first_name: String,
pub username: Option<String>,
}Expand description
Snapshot of the first private-chat message we saw during capture.
chat_id is the value persisted to config; the remaining fields are
used only to render the confirmation prompt.
Fields§
§chat_id: i64§first_name: String§username: Option<String>Trait Implementations§
Source§impl Clone for CapturedChat
impl Clone for CapturedChat
Source§fn clone(&self) -> CapturedChat
fn clone(&self) -> CapturedChat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CapturedChat
impl RefUnwindSafe for CapturedChat
impl Send for CapturedChat
impl Sync for CapturedChat
impl Unpin for CapturedChat
impl UnsafeUnpin for CapturedChat
impl UnwindSafe for CapturedChat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more