pub struct SavePost {
    pub post_id: PostId,
    pub save: bool,
}Expand description
Save / bookmark a post.
Fields§
§post_id: PostId§save: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SavePost
 
impl<'de> Deserialize<'de> for SavePost
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 SavePost
impl Eq for SavePost
impl StructuralPartialEq for SavePost
Auto Trait Implementations§
impl Freeze for SavePost
impl RefUnwindSafe for SavePost
impl Send for SavePost
impl Sync for SavePost
impl Unpin for SavePost
impl UnwindSafe for SavePost
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