pub struct Draft {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub body_data: Option<Value>,
pub data: Option<Value>,
pub is_autogenerated: Option<bool>,
pub was_local_draft: Option<bool>,
pub anchor: Option<String>,
}Fields§
§id: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§archived_at: Option<DateTime<Utc>>§body_data: Option<Value>§data: Option<Value>§is_autogenerated: Option<bool>§was_local_draft: Option<bool>§anchor: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draft
impl<'de> Deserialize<'de> for Draft
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 Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnwindSafe for Draft
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