Struct serenity::model::application::Team [−][src]
pub struct Team {
pub icon: Option<String>,
pub id: u64,
pub name: String,
pub members: Vec<TeamMember>,
pub owner_user_id: UserId,
}
Expand description
Information about the Team group of the application.
Fields
icon: Option<String>
The icon of the team.
id: u64
The snowflake ID of the team.
name: String
The name of the team.
members: Vec<TeamMember>
The members of the team
owner_user_id: UserId
The user id of the team owner.
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 Team
impl UnwindSafe for Team
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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