pub struct MemberLeave {
pub group: Uin,
pub user: Uin,
pub operator: Option<Uin>,
pub reason: MemberDecreaseReason,
}Expand description
成员退群或被踢(Notice::MemberDecrease)。
Fields§
§group: Uin§user: Uin§operator: Option<Uin>§reason: MemberDecreaseReasonTrait Implementations§
Source§impl FromContext for MemberLeave
impl FromContext for MemberLeave
fn from_context<'life0, 'async_trait>(
ctx: &'life0 Ctx,
) -> Pin<Box<dyn Future<Output = Result<MemberLeave, Reject>> + Send + 'async_trait>>where
'life0: 'async_trait,
MemberLeave: 'async_trait,
Auto Trait Implementations§
impl Freeze for MemberLeave
impl RefUnwindSafe for MemberLeave
impl Send for MemberLeave
impl Sync for MemberLeave
impl Unpin for MemberLeave
impl UnsafeUnpin for MemberLeave
impl UnwindSafe for MemberLeave
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