Struct lotus_script::content::ContentId  
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§
§impl<'de> Deserialize<'de> for ContentId
 
impl<'de> Deserialize<'de> for ContentId
§fn deserialize<__D>(
    __deserializer: __D
) -> Result<ContentId, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<ContentId, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ContentId
 
impl Serialize for ContentId
§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl VariableType for ContentId
 
impl VariableType for ContentId
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