pub struct Like {
pub gid: Option<String>,
pub user: Option<Box<UserCompact>>,
}
Expand description
Like : An object to represent a user’s like.
Fields
gid: Option<String>
Globally unique identifier of the object, as a string.
user: Option<Box<UserCompact>>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Like
impl<'de> Deserialize<'de> for Like
sourcefn 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 StructuralPartialEq for Like
Auto Trait Implementations
impl RefUnwindSafe for Like
impl Send for Like
impl Sync for Like
impl Unpin for Like
impl UnwindSafe for Like
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more