pub struct RemoveRecentCustomStatusRequest {
pub emoji: String,
pub text: String,
pub duration: String,
pub expires_at: String,
}
Fields§
§emoji: String
Any emoji
text: String
Any custom status text
duration: String
Duration of custom status, can be thirty_minutes
, one_hour
, four_hours
, today
, this_week
or date_and_time
expires_at: String
The time at which custom status should be expired. It should be in ISO format.
Implementations§
Trait Implementations§
Source§impl Clone for RemoveRecentCustomStatusRequest
impl Clone for RemoveRecentCustomStatusRequest
Source§fn clone(&self) -> RemoveRecentCustomStatusRequest
fn clone(&self) -> RemoveRecentCustomStatusRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for RemoveRecentCustomStatusRequest
impl Default for RemoveRecentCustomStatusRequest
Source§fn default() -> RemoveRecentCustomStatusRequest
fn default() -> RemoveRecentCustomStatusRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoveRecentCustomStatusRequest
impl<'de> Deserialize<'de> for RemoveRecentCustomStatusRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RemoveRecentCustomStatusRequest
impl PartialEq for RemoveRecentCustomStatusRequest
Source§fn eq(&self, other: &RemoveRecentCustomStatusRequest) -> bool
fn eq(&self, other: &RemoveRecentCustomStatusRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RemoveRecentCustomStatusRequest
Auto Trait Implementations§
impl Freeze for RemoveRecentCustomStatusRequest
impl RefUnwindSafe for RemoveRecentCustomStatusRequest
impl Send for RemoveRecentCustomStatusRequest
impl Sync for RemoveRecentCustomStatusRequest
impl Unpin for RemoveRecentCustomStatusRequest
impl UnwindSafe for RemoveRecentCustomStatusRequest
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