pub struct CommentId(pub u32);
Expand description
Represents
comment_id
,
the primary key of the comment
table.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CommentId
impl<'de> Deserialize<'de> for CommentId
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 Ord for CommentId
impl Ord for CommentId
Source§impl PartialOrd for CommentId
impl PartialOrd for CommentId
impl Copy for CommentId
impl Eq for CommentId
impl StructuralPartialEq for CommentId
Auto Trait Implementations§
impl Freeze for CommentId
impl RefUnwindSafe for CommentId
impl Send for CommentId
impl Sync for CommentId
impl Unpin for CommentId
impl UnwindSafe for CommentId
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