Struct lemmy_api_common::site::GetModlogResponse[][src]

pub struct GetModlogResponse {
    pub removed_posts: Vec<ModRemovePostView>,
    pub locked_posts: Vec<ModLockPostView>,
    pub stickied_posts: Vec<ModStickyPostView>,
    pub removed_comments: Vec<ModRemoveCommentView>,
    pub removed_communities: Vec<ModRemoveCommunityView>,
    pub banned_from_community: Vec<ModBanFromCommunityView>,
    pub banned: Vec<ModBanView>,
    pub added_to_community: Vec<ModAddCommunityView>,
    pub transferred_to_community: Vec<ModTransferCommunityView>,
    pub added: Vec<ModAddView>,
}

Fields

removed_posts: Vec<ModRemovePostView>locked_posts: Vec<ModLockPostView>stickied_posts: Vec<ModStickyPostView>removed_comments: Vec<ModRemoveCommentView>removed_communities: Vec<ModRemoveCommunityView>banned_from_community: Vec<ModBanFromCommunityView>banned: Vec<ModBanView>added_to_community: Vec<ModAddCommunityView>transferred_to_community: Vec<ModTransferCommunityView>added: Vec<ModAddView>

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more