Struct serenity::model::application::TeamMember [−][src]
pub struct TeamMember {
pub membership_state: MembershipState,
pub permissions: Vec<String>,
pub team_id: u64,
pub user: User,
}
Expand description
Infromation about a Member on a Team.
Fields
membership_state: MembershipState
The member’s membership state.
permissions: Vec<String>
The list of permissions of the member on the team.
NOTE: Will always be [“*”] for now.
team_id: u64
The ID of the team they are a member of.
user: User
The user type of the team member.
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 TeamMember
impl Send for TeamMember
impl Sync for TeamMember
impl Unpin for TeamMember
impl UnwindSafe for TeamMember
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