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>,
}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>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
Auto Trait Implementations§
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