pub struct PostViewerStateDTO {
pub liked: bool,
pub bookmark_id: Option<String>,
pub selected_answer: bool,
}Fields§
§liked: bool§bookmark_id: Option<String>§selected_answer: boolTrait Implementations§
Source§impl Clone for PostViewerStateDTO
impl Clone for PostViewerStateDTO
Source§impl Debug for PostViewerStateDTO
impl Debug for PostViewerStateDTO
Source§impl<'de> Deserialize<'de> for PostViewerStateDTO
impl<'de> Deserialize<'de> for PostViewerStateDTO
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
Auto Trait Implementations§
impl Freeze for PostViewerStateDTO
impl RefUnwindSafe for PostViewerStateDTO
impl Send for PostViewerStateDTO
impl Sync for PostViewerStateDTO
impl Unpin for PostViewerStateDTO
impl UnsafeUnpin for PostViewerStateDTO
impl UnwindSafe for PostViewerStateDTO
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