pub struct GetModlogResponse {Show 15 fields
pub removed_posts: Vec<ModRemovePostView>,
pub locked_posts: Vec<ModLockPostView>,
pub featured_posts: Vec<ModFeaturePostView>,
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>,
pub admin_purged_persons: Vec<AdminPurgePersonView>,
pub admin_purged_communities: Vec<AdminPurgeCommunityView>,
pub admin_purged_posts: Vec<AdminPurgePostView>,
pub admin_purged_comments: Vec<AdminPurgeCommentView>,
pub hidden_communities: Vec<ModHideCommunityView>,
}Expand description
The modlog fetch response.
Fields§
§removed_posts: Vec<ModRemovePostView>§locked_posts: Vec<ModLockPostView>§featured_posts: Vec<ModFeaturePostView>§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>§admin_purged_persons: Vec<AdminPurgePersonView>§admin_purged_communities: Vec<AdminPurgeCommunityView>§admin_purged_posts: Vec<AdminPurgePostView>§admin_purged_comments: Vec<AdminPurgeCommentView>Trait Implementations§
Source§impl Clone for GetModlogResponse
impl Clone for GetModlogResponse
Source§fn clone(&self) -> GetModlogResponse
fn clone(&self) -> GetModlogResponse
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 GetModlogResponse
impl Debug for GetModlogResponse
Source§impl<'de> Deserialize<'de> for GetModlogResponse
impl<'de> Deserialize<'de> for GetModlogResponse
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
Auto Trait Implementations§
impl Freeze for GetModlogResponse
impl RefUnwindSafe for GetModlogResponse
impl Send for GetModlogResponse
impl Sync for GetModlogResponse
impl Unpin for GetModlogResponse
impl UnwindSafe for GetModlogResponse
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)