pub struct NotificationRecord {
pub team_id: String,
pub message: String,
pub recipients: Vec<String>,
pub timestamp: SystemTime,
pub delivered: bool,
}Expand description
Record of a notification sent to team members
Fields§
§team_id: String§message: String§recipients: Vec<String>§timestamp: SystemTime§delivered: boolTrait Implementations§
Source§impl Clone for NotificationRecord
impl Clone for NotificationRecord
Source§fn clone(&self) -> NotificationRecord
fn clone(&self) -> NotificationRecord
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 moreAuto Trait Implementations§
impl Freeze for NotificationRecord
impl RefUnwindSafe for NotificationRecord
impl Send for NotificationRecord
impl Sync for NotificationRecord
impl Unpin for NotificationRecord
impl UnwindSafe for NotificationRecord
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