pub struct NotificationData {
pub author: ProfileView,
pub cid: Cid,
pub indexed_at: Datetime,
pub is_read: bool,
pub labels: Option<Vec<Label>>,
pub reason: String,
pub reason_subject: Option<String>,
pub record: Unknown,
pub uri: String,
}
Available on crate feature
namespace-appbsky
only.Fields§
§cid: Cid
§indexed_at: Datetime
§is_read: bool
§labels: Option<Vec<Label>>
§reason: String
The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.
reason_subject: Option<String>
§record: Unknown
§uri: String
Trait Implementations§
Source§impl Clone for NotificationData
impl Clone for NotificationData
Source§fn clone(&self) -> NotificationData
fn clone(&self) -> NotificationData
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 NotificationData
impl Debug for NotificationData
Source§impl<'de> Deserialize<'de> for NotificationData
impl<'de> Deserialize<'de> for NotificationData
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
Source§impl PartialEq for NotificationData
impl PartialEq for NotificationData
Source§impl Serialize for NotificationData
impl Serialize for NotificationData
impl Eq for NotificationData
impl StructuralPartialEq for NotificationData
Auto Trait Implementations§
impl Freeze for NotificationData
impl RefUnwindSafe for NotificationData
impl Send for NotificationData
impl Sync for NotificationData
impl Unpin for NotificationData
impl UnwindSafe for NotificationData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.