Enum lemmy_websocket::UserOperation
source · pub enum UserOperation {
Show 51 variants
Login,
GetCaptcha,
MarkCommentAsRead,
SaveComment,
CreateCommentLike,
CreateCommentReport,
ResolveCommentReport,
ListCommentReports,
CreatePostLike,
LockPost,
StickyPost,
MarkPostAsRead,
SavePost,
CreatePostReport,
ResolvePostReport,
ListPostReports,
GetReportCount,
GetUnreadCount,
VerifyEmail,
FollowCommunity,
GetReplies,
GetPersonMentions,
MarkPersonMentionAsRead,
GetModlog,
BanFromCommunity,
AddModToCommunity,
AddAdmin,
GetUnreadRegistrationApplicationCount,
ListRegistrationApplications,
ApproveRegistrationApplication,
BanPerson,
GetBannedPersons,
Search,
ResolveObject,
MarkAllAsRead,
SaveUserSettings,
TransferCommunity,
LeaveAdmin,
PasswordReset,
PasswordChange,
MarkPrivateMessageAsRead,
UserJoin,
GetSiteConfig,
SaveSiteConfig,
PostJoin,
CommunityJoin,
ModJoin,
ChangePassword,
GetSiteMetadata,
BlockCommunity,
BlockPerson,
}
Variants§
Login
GetCaptcha
MarkCommentAsRead
SaveComment
CreateCommentLike
CreateCommentReport
ResolveCommentReport
ListCommentReports
CreatePostLike
LockPost
StickyPost
MarkPostAsRead
SavePost
CreatePostReport
ResolvePostReport
ListPostReports
GetReportCount
GetUnreadCount
VerifyEmail
FollowCommunity
GetReplies
GetPersonMentions
MarkPersonMentionAsRead
GetModlog
BanFromCommunity
AddModToCommunity
AddAdmin
GetUnreadRegistrationApplicationCount
ListRegistrationApplications
ApproveRegistrationApplication
BanPerson
GetBannedPersons
Search
ResolveObject
MarkAllAsRead
SaveUserSettings
TransferCommunity
LeaveAdmin
PasswordReset
PasswordChange
MarkPrivateMessageAsRead
UserJoin
GetSiteConfig
SaveSiteConfig
PostJoin
CommunityJoin
ModJoin
ChangePassword
GetSiteMetadata
BlockCommunity
BlockPerson
Trait Implementations§
source§impl Clone for UserOperation
impl Clone for UserOperation
source§fn clone(&self) -> UserOperation
fn clone(&self) -> UserOperation
Returns a copy 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 UserOperation
impl Debug for UserOperation
source§impl Display for UserOperation
impl Display for UserOperation
source§impl FromStr for UserOperation
impl FromStr for UserOperation
source§impl TryFrom<&str> for UserOperation
impl TryFrom<&str> for UserOperation
impl OperationType for UserOperation
Auto Trait Implementations§
impl RefUnwindSafe for UserOperation
impl Send for UserOperation
impl Sync for UserOperation
impl Unpin for UserOperation
impl UnwindSafe for UserOperation
Blanket Implementations§
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> 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> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more