Struct google_docs1::api::DocumentStyle [−][src]
The style of the document.
This type is not used in any activity, and only used as part of another schema.
Fields
background: Option<Background>The background of the document. Documents cannot have a transparent background color.
The ID of the default footer. If not set, there is no default footer. This property is read-only.
default_header_id: Option<String>The ID of the default header. If not set, there is no default header. This property is read-only.
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. This property is read-only.
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. This property is read-only.
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. This property is read-only.
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. This property is read-only.
margin_bottom: Option<Dimension>The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles.
The amount of space between the bottom of the page and the contents of the footer.
margin_header: Option<Dimension>The amount of space between the top of the page and the contents of the header.
margin_left: Option<Dimension>The left page margin. Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections.
margin_right: Option<Dimension>The right page margin. Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections.
margin_top: Option<Dimension>The top page margin. Updating the top page margin on the document style clears the top page margin on all section styles.
page_number_start: Option<i32>The page number from which to start counting the number of pages.
page_size: Option<Size>The size of a page in the document.
Indicates whether DocumentStyle margin_header, SectionStyle margin_header and DocumentStyle margin_footer, SectionStyle margin_footer are respected. When false, the default values in the Docs editor for header and footer margin are used. This property is read-only.
Indicates whether to use the even page header / footer IDs for the even pages.
Indicates whether to use the first page header / footer IDs for the first page.
Trait Implementations
impl Clone for DocumentStyle[src]
fn clone(&self) -> DocumentStyle[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DocumentStyle[src]
impl Default for DocumentStyle[src]
fn default() -> DocumentStyle[src]
impl<'de> Deserialize<'de> for DocumentStyle[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for DocumentStyle[src]
impl Serialize for DocumentStyle[src]
Auto Trait Implementations
impl RefUnwindSafe for DocumentStyle[src]
impl Send for DocumentStyle[src]
impl Sync for DocumentStyle[src]
impl Unpin for DocumentStyle[src]
impl UnwindSafe for DocumentStyle[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,