Struct discord_sdk::activity::InviteActivity
source · pub struct InviteActivity {
pub session_id: String,
pub created_at: Option<OffsetDateTime>,
pub details: Activity,
}
Fields§
§session_id: String
The unique identifier for the activity
created_at: Option<OffsetDateTime>
The timestamp the activity was created
details: Activity
The usual activity data
Trait Implementations§
source§impl Debug for InviteActivity
impl Debug for InviteActivity
source§impl<'de> Deserialize<'de> for InviteActivity
impl<'de> Deserialize<'de> for InviteActivity
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 InviteActivity
impl Send for InviteActivity
impl Sync for InviteActivity
impl Unpin for InviteActivity
impl UnwindSafe for InviteActivity
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