pub struct ContentId {
pub user_id: i32,
pub sub_id: i32,
}Expand description
A unique identifier for a content item.
Fields§
§user_id: i32The user ID of the content item.
sub_id: i32The sub ID of the content item.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentId
impl<'de> Deserialize<'de> for ContentId
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
impl Copy for ContentId
impl Eq for ContentId
impl StructuralPartialEq for ContentId
Auto Trait Implementations§
impl Freeze for ContentId
impl RefUnwindSafe for ContentId
impl Send for ContentId
impl Sync for ContentId
impl Unpin for ContentId
impl UnwindSafe for ContentId
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