pub struct WikiPageEssentials {
pub title: String,
pub parent: Option<WikiPageParent>,
pub version: u64,
pub created_on: OffsetDateTime,
pub updated_on: OffsetDateTime,
pub attachments: Option<Vec<Attachment>>,
}Expand description
a type for wiki pages to use as an API return type for the list call
alternatively you can use your own type limited to the fields you need
Fields§
§title: Stringtitle
parent: Option<WikiPageParent>the parent of this page
version: u64the version number of the wiki page
created_on: OffsetDateTimeThe time when this wiki page was created
updated_on: OffsetDateTimeThe time when this wiki page was last updated
attachments: Option<Vec<Attachment>>wiki page attachments (only when include parameter is used)
Trait Implementations§
Source§impl Clone for WikiPageEssentials
impl Clone for WikiPageEssentials
Source§fn clone(&self) -> WikiPageEssentials
fn clone(&self) -> WikiPageEssentials
Returns a duplicate of the value. Read more
1.0.0 · 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 WikiPageEssentials
impl Debug for WikiPageEssentials
Source§impl<'de> Deserialize<'de> for WikiPageEssentials
impl<'de> Deserialize<'de> for WikiPageEssentials
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 WikiPageEssentials
impl PartialEq for WikiPageEssentials
Source§impl Serialize for WikiPageEssentials
impl Serialize for WikiPageEssentials
impl Eq for WikiPageEssentials
impl StructuralPartialEq for WikiPageEssentials
Auto Trait Implementations§
impl Freeze for WikiPageEssentials
impl RefUnwindSafe for WikiPageEssentials
impl Send for WikiPageEssentials
impl Sync for WikiPageEssentials
impl Unpin for WikiPageEssentials
impl UnwindSafe for WikiPageEssentials
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