#[non_exhaustive]pub struct NoticeSystem {
pub id: String,
pub user_id: UserId,
pub data_id: String,
pub data_type: u32,
pub description: String,
pub content: String,
pub has_read: bool,
pub create_time: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String通知 ID
user_id: UserId用户 ID
data_id: String数据 ID
data_type: u32数据类型
description: String消息描述
content: String消息内容
has_read: bool是否已读
create_time: String创建日期
Trait Implementations§
Source§impl Clone for NoticeSystem
impl Clone for NoticeSystem
Source§impl Debug for NoticeSystem
impl Debug for NoticeSystem
Source§impl From<WireNoticeSystem> for NoticeSystem
impl From<WireNoticeSystem> for NoticeSystem
Source§fn from(w: WireNoticeSystem) -> Self
fn from(w: WireNoticeSystem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for NoticeSystem
impl Freeze for NoticeSystem
impl Move for NoticeSystem
impl RefUnwindSafe for NoticeSystem
impl Send for NoticeSystem
impl Sync for NoticeSystem
impl Unpin for NoticeSystem
impl UnsafeUnpin for NoticeSystem
impl UnwindSafe for NoticeSystem
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