pub struct PresenceParams {
pub chat_id: String,
pub presence: String,
}Fields§
§chat_id: String§presence: StringOne of “composing”, “recording”, “paused”
Trait Implementations§
Source§impl Clone for PresenceParams
impl Clone for PresenceParams
Source§impl Debug for PresenceParams
impl Debug for PresenceParams
Source§impl Default for PresenceParams
impl Default for PresenceParams
Auto Trait Implementations§
impl Forget for PresenceParams
impl Freeze for PresenceParams
impl Move for PresenceParams
impl RefUnwindSafe for PresenceParams
impl Send for PresenceParams
impl Sync for PresenceParams
impl Unpin for PresenceParams
impl UnsafeUnpin for PresenceParams
impl UnwindSafe for PresenceParams
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