pub struct Idea {
pub id: String,
pub title: Option<String>,
pub content: String,
pub tags: Vec<String>,
pub created: String,
pub updated: String,
pub promoted: Option<String>,
pub archived: Option<String>,
}Fields§
§id: String§title: Option<String>§content: String§created: StringAn ISO 8601 instant, such as 2026-03-01T09:30:00Z.
updated: StringAn ISO 8601 instant, such as 2026-03-01T09:30:00Z.
promoted: Option<String>An ISO 8601 instant, such as 2026-03-01T09:30:00Z.
archived: Option<String>An ISO 8601 instant, such as 2026-03-01T09:30:00Z.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Idea
impl<'de> Deserialize<'de> for Idea
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 StructuralPartialEq for Idea
Auto Trait Implementations§
impl Freeze for Idea
impl RefUnwindSafe for Idea
impl Send for Idea
impl Sync for Idea
impl Unpin for Idea
impl UnsafeUnpin for Idea
impl UnwindSafe for Idea
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