pub struct Ready {
pub self_id: Uin,
pub nickname: String,
}Expand description
框架就绪:已解析出可用账号(Meta::Ready,每次 run_* 仅一次)。self_id 为机器人账号,
nickname 为其昵称(来自 get_login_info,未知时为空串)。
Fields§
§self_id: Uin§nickname: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Ready
impl RefUnwindSafe for Ready
impl Send for Ready
impl Sync for Ready
impl Unpin for Ready
impl UnsafeUnpin for Ready
impl UnwindSafe for Ready
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