pub enum NotificationBody {
Follow {
followed_by: String,
},
NewFriend {
followed_by: String,
},
LostFriend {
unfollowed_by: String,
},
TagPost {
tagged_by: String,
tag_label: String,
post_uri: String,
},
TagProfile {
tagged_by: String,
tag_label: String,
},
Reply {
replied_by: String,
parent_post_uri: String,
reply_uri: String,
},
Repost {
reposted_by: String,
embed_uri: String,
repost_uri: String,
},
Mention {
mentioned_by: String,
post_uri: String,
},
PostDeleted {
delete_source: PostChangedSource,
deleted_by: String,
deleted_uri: String,
linked_uri: String,
},
PostEdited {
edit_source: PostChangedSource,
edited_by: String,
edited_uri: String,
linked_uri: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for NotificationBody
impl Clone for NotificationBody
Source§fn clone(&self) -> NotificationBody
fn clone(&self) -> NotificationBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for NotificationBody
impl ComposeSchema for NotificationBody
Source§impl Debug for NotificationBody
impl Debug for NotificationBody
Source§impl Default for NotificationBody
impl Default for NotificationBody
Source§impl<'de> Deserialize<'de> for NotificationBody
impl<'de> Deserialize<'de> for NotificationBody
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 Serialize for NotificationBody
impl Serialize for NotificationBody
Auto Trait Implementations§
impl Freeze for NotificationBody
impl RefUnwindSafe for NotificationBody
impl Send for NotificationBody
impl Sync for NotificationBody
impl Unpin for NotificationBody
impl UnsafeUnpin for NotificationBody
impl UnwindSafe for NotificationBody
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request