pub struct StatusSet {
pub text: Option<String>,
pub emoji: Option<String>,
pub expires_at: Option<u64>,
}Expand description
member.status.set: replaces the actor’s custom status. A body with neither text nor
emoji clears it.
Fields§
§text: Option<String>1–128 scalars.
emoji: Option<String>A Unicode emoji.
expires_at: Option<u64>When the host clears it, ms since the epoch; absent: never.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatusSet
impl<'de> Deserialize<'de> for StatusSet
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
impl Eq for StatusSet
impl StructuralPartialEq for StatusSet
Auto Trait Implementations§
impl Freeze for StatusSet
impl RefUnwindSafe for StatusSet
impl Send for StatusSet
impl Sync for StatusSet
impl Unpin for StatusSet
impl UnsafeUnpin for StatusSet
impl UnwindSafe for StatusSet
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