pub struct HelpArticle {
pub body: Option<String>,
pub category: Option<String>,
pub excerpt: Option<String>,
pub slug: Option<String>,
pub title: Option<String>,
pub updated_at: Option<i32>,
}Fields§
§body: Option<String>Body is the article’s rich-text content as the author saved it.
category: Option<String>Category is the name of the knowledge-base section the article sits in, or empty when it is filed under none.
excerpt: Option<String>Excerpt is the short summary the author wrote for listings, or empty.
slug: Option<String>Slug is the article’s stable public identifier — the path segment it was addressed by.
title: Option<String>Title is the article’s headline.
updated_at: Option<i32>UpdatedAt is the unix second the article was last written.
Implementations§
Source§impl HelpArticle
impl HelpArticle
pub fn new() -> HelpArticle
Trait Implementations§
Source§impl Clone for HelpArticle
impl Clone for HelpArticle
Source§fn clone(&self) -> HelpArticle
fn clone(&self) -> HelpArticle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HelpArticle
impl Debug for HelpArticle
Source§impl Default for HelpArticle
impl Default for HelpArticle
Source§fn default() -> HelpArticle
fn default() -> HelpArticle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HelpArticle
impl<'de> Deserialize<'de> for HelpArticle
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
Source§impl PartialEq for HelpArticle
impl PartialEq for HelpArticle
Source§impl Serialize for HelpArticle
impl Serialize for HelpArticle
impl StructuralPartialEq for HelpArticle
Auto Trait Implementations§
impl Freeze for HelpArticle
impl RefUnwindSafe for HelpArticle
impl Send for HelpArticle
impl Sync for HelpArticle
impl Unpin for HelpArticle
impl UnsafeUnpin for HelpArticle
impl UnwindSafe for HelpArticle
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