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