[][src]Struct google_docs1::DocumentStyle

pub struct DocumentStyle {
    pub default_footer_id: Option<String>,
    pub even_page_footer_id: Option<String>,
    pub first_page_footer_id: Option<String>,
    pub page_size: Option<Size>,
    pub default_header_id: Option<String>,
    pub margin_bottom: Option<Dimension>,
    pub first_page_header_id: Option<String>,
    pub even_page_header_id: Option<String>,
    pub use_first_page_header_footer: Option<bool>,
    pub margin_left: Option<Dimension>,
    pub use_even_page_header_footer: Option<bool>,
    pub background: Option<Background>,
    pub margin_right: Option<Dimension>,
    pub page_number_start: Option<i32>,
    pub margin_top: Option<Dimension>,
}

The style of the document.

This type is not used in any activity, and only used as part of another schema.

Fields

default_footer_id: Option<String>

The ID of the default footer. If not set, there is no default footer.

even_page_footer_id: Option<String>

The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages. If not set, there is no even page footer.

first_page_footer_id: Option<String>

The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_footer_id or this value for the footer on the first page. If not set, there is no first page footer.

page_size: Option<Size>

The size of a page in the document.

default_header_id: Option<String>

The ID of the default header. If not set, there is no default header.

margin_bottom: Option<Dimension>

The bottom page margin.

first_page_header_id: Option<String>

The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_header_id or this value for the header on the first page. If not set, there is no first page header.

even_page_header_id: Option<String>

The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages. If not set, there is no even page header.

use_first_page_header_footer: Option<bool>

Indicates whether to use the first page header / footer IDs for the first page.

margin_left: Option<Dimension>

The left page margin.

use_even_page_header_footer: Option<bool>

Indicates whether to use the even page header / footer IDs for the even pages.

background: Option<Background>

The background of the document.

margin_right: Option<Dimension>

The right page margin.

page_number_start: Option<i32>

The page number from which to start counting the number of pages.

margin_top: Option<Dimension>

The top page margin.

Trait Implementations

impl Part for DocumentStyle[src]

impl Default for DocumentStyle[src]

impl Clone for DocumentStyle[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DocumentStyle[src]

impl Serialize for DocumentStyle[src]

impl<'de> Deserialize<'de> for DocumentStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]