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§fn clone(&self) -> PresenceParams
fn clone(&self) -> PresenceParams
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 moreSource§impl Debug for PresenceParams
impl Debug for PresenceParams
Source§impl Default for PresenceParams
impl Default for PresenceParams
Source§fn default() -> PresenceParams
fn default() -> PresenceParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze 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