pub struct SetPresence {
pub user_id: u64,
pub presence: Presence,
pub rich_presence: String,
pub game_presence: String,
pub session_id: String,
}Fields§
§user_id: u64§presence: Presence§rich_presence: String§game_presence: String§session_id: StringTrait Implementations§
Source§impl Debug for SetPresence
impl Debug for SetPresence
Source§impl<'de> Deserialize<'de> for SetPresence
impl<'de> Deserialize<'de> for SetPresence
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 From<SetPresence> for RequestBody
impl From<SetPresence> for RequestBody
Source§fn from(val: SetPresence) -> Self
fn from(val: SetPresence) -> Self
Converts to this type from the input type.
Source§impl RequestResponse for SetPresence
impl RequestResponse for SetPresence
type Response = ErrorSuccess
fn extract_response(body: ResponseBody) -> Result<Self::Response, SdkError>
Auto Trait Implementations§
impl Freeze for SetPresence
impl RefUnwindSafe for SetPresence
impl Send for SetPresence
impl Sync for SetPresence
impl Unpin for SetPresence
impl UnwindSafe for SetPresence
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