pub struct TimelyNotification {
pub notification_type: String,
pub message: String,
pub target_users: Vec<String>,
}Expand description
即时提醒配置
Fields§
§notification_type: String提醒类型
message: String提醒消息
target_users: Vec<String>目标用户
Trait Implementations§
Source§impl Clone for TimelyNotification
impl Clone for TimelyNotification
Source§fn clone(&self) -> TimelyNotification
fn clone(&self) -> TimelyNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimelyNotification
impl Debug for TimelyNotification
Source§impl<'de> Deserialize<'de> for TimelyNotification
impl<'de> Deserialize<'de> for TimelyNotification
Source§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 Freeze for TimelyNotification
impl RefUnwindSafe for TimelyNotification
impl Send for TimelyNotification
impl Sync for TimelyNotification
impl Unpin for TimelyNotification
impl UnwindSafe for TimelyNotification
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