Struct lemmy_api_common::site::GetModlog
source · pub struct GetModlog {
pub mod_person_id: Option<PersonId>,
pub community_id: Option<CommunityId>,
pub page: Option<i64>,
pub limit: Option<i64>,
pub type_: Option<ModlogActionType>,
pub other_person_id: Option<PersonId>,
pub post_id: Option<PostId>,
pub comment_id: Option<CommentId>,
}Expand description
Fetches the modlog.
Fields§
§mod_person_id: Option<PersonId>§community_id: Option<CommunityId>§page: Option<i64>§limit: Option<i64>§type_: Option<ModlogActionType>§other_person_id: Option<PersonId>§post_id: Option<PostId>§comment_id: Option<CommentId>Trait Implementations§
source§impl<'de> Deserialize<'de> for GetModlog
impl<'de> Deserialize<'de> for GetModlog
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 GetModlog
impl PartialEq for GetModlog
impl Copy for GetModlog
impl Eq for GetModlog
impl StructuralPartialEq for GetModlog
Auto Trait Implementations§
impl Freeze for GetModlog
impl RefUnwindSafe for GetModlog
impl Send for GetModlog
impl Sync for GetModlog
impl Unpin for GetModlog
impl UnwindSafe for GetModlog
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