pub struct NodeData {
pub id: Option<String>,
pub user_id: Option<String>,
pub nickname: Option<String>,
pub content: Option<Vec<SendSegment>>,
}Fields§
§id: Option<String>§说明
转发的消息 ID
user_id: Option<String>§说明
发送者 QQ 号
nickname: Option<String>§说明
发送者昵称
content: Option<Vec<SendSegment>>Trait Implementations§
Source§impl SendSegmentData for NodeData
impl SendSegmentData for NodeData
fn into_send_segment(self) -> SendSegment
Auto Trait Implementations§
impl Freeze for NodeData
impl RefUnwindSafe for NodeData
impl Send for NodeData
impl Sync for NodeData
impl Unpin for NodeData
impl UnsafeUnpin for NodeData
impl UnwindSafe for NodeData
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