pub struct ActivitySecrets {
pub join: Option<String>,
pub match_: Option<String>,
pub spectate: Option<String>,
}
Fields§
§join: Option<String>
§match_: Option<String>
§spectate: Option<String>
Trait Implementations§
source§impl Clone for ActivitySecrets
impl Clone for ActivitySecrets
source§fn clone(&self) -> ActivitySecrets
fn clone(&self) -> ActivitySecrets
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 ActivitySecrets
impl Debug for ActivitySecrets
source§impl<'de> Deserialize<'de> for ActivitySecrets
impl<'de> Deserialize<'de> for ActivitySecrets
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 Hash for ActivitySecrets
impl Hash for ActivitySecrets
source§impl PartialEq for ActivitySecrets
impl PartialEq for ActivitySecrets
source§impl Serialize for ActivitySecrets
impl Serialize for ActivitySecrets
impl Eq for ActivitySecrets
impl StructuralPartialEq for ActivitySecrets
Auto Trait Implementations§
impl Freeze for ActivitySecrets
impl RefUnwindSafe for ActivitySecrets
impl Send for ActivitySecrets
impl Sync for ActivitySecrets
impl Unpin for ActivitySecrets
impl UnwindSafe for ActivitySecrets
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)