Struct confluence::UpdatePage [] [src]

pub struct UpdatePage {
    pub id: Option<i64>,
    pub space: String,
    pub title: String,
    pub content: String,
    pub version: Option<i32>,
    pub parent_id: Option<i64>,
}
[]

Page Object for creating a Page.

Fields

id

The id of the page

space

The key of the space that this page belongs to

title

The title of the page

content

The page content

version

The version number of this page

parent_id

The id of the parent page

Methods

impl UpdatePage

fn with_create_fields<S: Into<String>>(parent_id: Option<i64>, space: &str, title: &str, content: S) -> UpdatePage

Trait Implementations

impl From<Page> for UpdatePage

fn from(other: Page) -> UpdatePage

Derived Implementations

impl Debug for UpdatePage

fn fmt(&self, __arg_0: &mut Formatter) -> Result