pub struct SenderInfo {
pub user_id: String,
pub chat_id: String,
pub chat_type: ChatType,
}Expand description
Sender information extracted from a platform event.
Fields§
§user_id: String§chat_id: String§chat_type: ChatTypeTrait Implementations§
Source§impl Clone for SenderInfo
impl Clone for SenderInfo
Source§fn clone(&self) -> SenderInfo
fn clone(&self) -> SenderInfo
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 SenderInfo
impl RefUnwindSafe for SenderInfo
impl Send for SenderInfo
impl Sync for SenderInfo
impl Unpin for SenderInfo
impl UnsafeUnpin for SenderInfo
impl UnwindSafe for SenderInfo
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