Struct lemmy_db_schema::newtypes::PostId
source · pub struct PostId(pub i32);
Expand description
The post id.
Tuple Fields§
§0: i32
Trait Implementations§
source§impl<'de> Deserialize<'de> for PostId
impl<'de> Deserialize<'de> for PostId
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 PostId
impl PartialEq for PostId
impl Copy for PostId
impl Eq for PostId
impl StructuralPartialEq for PostId
Auto Trait Implementations§
impl Freeze for PostId
impl RefUnwindSafe for PostId
impl Send for PostId
impl Sync for PostId
impl Unpin for PostId
impl UnwindSafe for PostId
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