Struct lemmy_db_schema::source::community::CommunityPersonBan
source · pub struct CommunityPersonBan {
pub community_id: CommunityId,
pub person_id: PersonId,
pub published: DateTime<Utc>,
pub expires: Option<DateTime<Utc>>,
}
Fields§
§community_id: CommunityId
§person_id: PersonId
§published: DateTime<Utc>
§expires: Option<DateTime<Utc>>
Trait Implementations§
source§impl Debug for CommunityPersonBan
impl Debug for CommunityPersonBan
source§impl PartialEq for CommunityPersonBan
impl PartialEq for CommunityPersonBan
source§fn eq(&self, other: &CommunityPersonBan) -> bool
fn eq(&self, other: &CommunityPersonBan) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommunityPersonBan
impl StructuralEq for CommunityPersonBan
impl StructuralPartialEq for CommunityPersonBan
Auto Trait Implementations§
impl RefUnwindSafe for CommunityPersonBan
impl Send for CommunityPersonBan
impl Sync for CommunityPersonBan
impl Unpin for CommunityPersonBan
impl UnwindSafe for CommunityPersonBan
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