pub struct NotificationSender {
pub name: String,
pub id: String,
pub agent: bool,
}Expand description
Who a notification is from: their name, the stable id their face is drawn from, and whether they are an agent rather than a person.
Fields§
§name: String§id: String§agent: boolTrait Implementations§
Source§impl Clone for NotificationSender
impl Clone for NotificationSender
Source§impl Debug for NotificationSender
impl Debug for NotificationSender
Source§impl<'de> Deserialize<'de> for NotificationSender
impl<'de> Deserialize<'de> for NotificationSender
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
impl Eq for NotificationSender
Source§impl PartialEq for NotificationSender
impl PartialEq for NotificationSender
Source§impl Serialize for NotificationSender
impl Serialize for NotificationSender
impl StructuralPartialEq for NotificationSender
Auto Trait Implementations§
impl Forget for NotificationSender
impl Freeze for NotificationSender
impl Move for NotificationSender
impl RefUnwindSafe for NotificationSender
impl Send for NotificationSender
impl Sync for NotificationSender
impl Unpin for NotificationSender
impl UnsafeUnpin for NotificationSender
impl UnwindSafe for NotificationSender
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