Struct discord_sdk::activity::Party
source · pub struct Party {
pub id: String,
pub size: Option<(u32, u32)>,
pub privacy: Option<PartyPrivacy>,
}
Expand description
A party is a uniquely identified group of users, but Discord doesn’t really provide much on top of this
Fields§
§id: String
A unique identifier for this party
size: Option<(u32, u32)>
Info about the size of the party
privacy: Option<PartyPrivacy>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Party
impl<'de> Deserialize<'de> for Party
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 Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnwindSafe for Party
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