pub struct DraftView {
pub created_at: Datetime,
pub draft: Draft,
pub id: Tid,
pub updated_at: Datetime,
}Expand description
View to present drafts data to users.
Fields§
§created_at: Datetime§draft: Draft§id: Tid§updated_at: DatetimeTrait Implementations§
Source§impl<'de> Deserialize<'de> for DraftView
impl<'de> Deserialize<'de> for DraftView
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 DraftView
impl RefUnwindSafe for DraftView
impl Send for DraftView
impl Sync for DraftView
impl Unpin for DraftView
impl UnsafeUnpin for DraftView
impl UnwindSafe for DraftView
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