Struct lemmy_db_schema::source::moderator::ModTransferCommunity
source · pub struct ModTransferCommunity {
pub id: i32,
pub mod_person_id: PersonId,
pub other_person_id: PersonId,
pub community_id: CommunityId,
pub when_: DateTime<Utc>,
}
Expand description
When a moderator transfers a community to a new owner.
Fields§
§id: i32
§mod_person_id: PersonId
§other_person_id: PersonId
§community_id: CommunityId
§when_: DateTime<Utc>
Trait Implementations§
source§impl Clone for ModTransferCommunity
impl Clone for ModTransferCommunity
source§fn clone(&self) -> ModTransferCommunity
fn clone(&self) -> ModTransferCommunity
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 ModTransferCommunity
impl Debug for ModTransferCommunity
source§impl<'de> Deserialize<'de> for ModTransferCommunity
impl<'de> Deserialize<'de> for ModTransferCommunity
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 ModTransferCommunity
impl PartialEq for ModTransferCommunity
source§fn eq(&self, other: &ModTransferCommunity) -> bool
fn eq(&self, other: &ModTransferCommunity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModTransferCommunity
impl Serialize for ModTransferCommunity
impl Eq for ModTransferCommunity
impl StructuralPartialEq for ModTransferCommunity
Auto Trait Implementations§
impl Freeze for ModTransferCommunity
impl RefUnwindSafe for ModTransferCommunity
impl Send for ModTransferCommunity
impl Sync for ModTransferCommunity
impl Unpin for ModTransferCommunity
impl UnwindSafe for ModTransferCommunity
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