Struct discord_sdk::activity::InviteActivity [−][src]
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
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more