pub struct PageVersion {
pub number: u32,
pub created_at: String,
pub author_id: String,
pub message: String,
pub minor_edit: bool,
}Expand description
A single version entry from a Confluence page’s history.
Optional fields (created_at, author_id, message) are returned as
empty strings when the API omits them — older pages can have null author
or timestamp data, see issue #708.
Fields§
§number: u32Version number (1-based; current version at the head of the list).
created_at: StringISO 8601 creation timestamp; empty if the API returned null.
Account ID of the author; empty if the API returned null.
message: StringVersion comment / edit message; empty if the API returned null.
minor_edit: boolWhether the edit was marked as minor.
Trait Implementations§
Source§impl Clone for PageVersion
impl Clone for PageVersion
Source§fn clone(&self) -> PageVersion
fn clone(&self) -> PageVersion
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 PageVersion
impl Debug for PageVersion
Source§impl<'de> Deserialize<'de> for PageVersion
impl<'de> Deserialize<'de> for PageVersion
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 PageVersion
impl RefUnwindSafe for PageVersion
impl Send for PageVersion
impl Sync for PageVersion
impl Unpin for PageVersion
impl UnsafeUnpin for PageVersion
impl UnwindSafe for PageVersion
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