Struct lemmy_db_schema::source::moderator::ModBanFromCommunityForm
source · pub struct ModBanFromCommunityForm {
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub community_id: CommunityId,
pub reason: Option<String>,
pub banned: Option<bool>,
pub expires: Option<DateTime<Utc>>,
}
Fields§
§mod_person_id: PersonId
§other_person_id: PersonId
§community_id: CommunityId
§reason: Option<String>
§banned: Option<bool>
§expires: Option<DateTime<Utc>>
Auto Trait Implementations§
impl Freeze for ModBanFromCommunityForm
impl RefUnwindSafe for ModBanFromCommunityForm
impl Send for ModBanFromCommunityForm
impl Sync for ModBanFromCommunityForm
impl Unpin for ModBanFromCommunityForm
impl UnwindSafe for ModBanFromCommunityForm
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