Struct polyphony_types::events::ClientStatusObject
source · pub struct ClientStatusObject {
pub desktop: Option<String>,
pub mobile: Option<String>,
pub web: Option<String>,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#client-status-object
Fields§
§desktop: Option<String>§mobile: Option<String>§web: Option<String>Trait Implementations§
source§impl Clone for ClientStatusObject
impl Clone for ClientStatusObject
source§fn clone(&self) -> ClientStatusObject
fn clone(&self) -> ClientStatusObject
Returns a copy of the value. Read more
1.0.0 · 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 ClientStatusObject
impl Debug for ClientStatusObject
source§impl Default for ClientStatusObject
impl Default for ClientStatusObject
source§fn default() -> ClientStatusObject
fn default() -> ClientStatusObject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientStatusObject
impl<'de> Deserialize<'de> for ClientStatusObject
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
Auto Trait Implementations§
impl RefUnwindSafe for ClientStatusObject
impl Send for ClientStatusObject
impl Sync for ClientStatusObject
impl Unpin for ClientStatusObject
impl UnwindSafe for ClientStatusObject
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