[][src]Struct confluence::UpdatePage

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: Option<i64>

The id of the page

space: String

The key of the space that this page belongs to

title: String

The title of the page

content: String

The page content

version: Option<i32>

The version number of this page

parent_id: Option<i64>

The id of the parent page

Methods

impl UpdatePage[src]

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

Trait Implementations

impl From<Page> for UpdatePage[src]

impl Debug for UpdatePage[src]

Auto Trait Implementations

impl Send for UpdatePage

impl Sync for UpdatePage

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err