pub struct DocumentStyleSuggestionState {Show 19 fields
pub background_suggestion_state: Option<BackgroundSuggestionState>,
pub default_footer_id_suggested: Option<bool>,
pub default_header_id_suggested: Option<bool>,
pub even_page_footer_id_suggested: Option<bool>,
pub even_page_header_id_suggested: Option<bool>,
pub first_page_footer_id_suggested: Option<bool>,
pub first_page_header_id_suggested: Option<bool>,
pub flip_page_orientation_suggested: Option<bool>,
pub margin_bottom_suggested: Option<bool>,
pub margin_footer_suggested: Option<bool>,
pub margin_header_suggested: Option<bool>,
pub margin_left_suggested: Option<bool>,
pub margin_right_suggested: Option<bool>,
pub margin_top_suggested: Option<bool>,
pub page_number_start_suggested: Option<bool>,
pub page_size_suggestion_state: Option<SizeSuggestionState>,
pub use_custom_header_footer_margins_suggested: Option<bool>,
pub use_even_page_header_footer_suggested: Option<bool>,
pub use_first_page_header_footer_suggested: Option<bool>,
}
Expand description
A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. For any field set to true, there’s a new suggested value.
This type is not used in any activity, and only used as part of another schema.
Fields§
§background_suggestion_state: Option<BackgroundSuggestionState>
A mask that indicates which of the fields in background have been changed in this suggestion.
Indicates if there was a suggested change to default_footer_id.
default_header_id_suggested: Option<bool>
Indicates if there was a suggested change to default_header_id.
Indicates if there was a suggested change to even_page_footer_id.
even_page_header_id_suggested: Option<bool>
Indicates if there was a suggested change to even_page_header_id.
Indicates if there was a suggested change to first_page_footer_id.
first_page_header_id_suggested: Option<bool>
Indicates if there was a suggested change to first_page_header_id.
flip_page_orientation_suggested: Option<bool>
Optional. Indicates if there was a suggested change to flip_page_orientation.
margin_bottom_suggested: Option<bool>
Indicates if there was a suggested change to margin_bottom.
Indicates if there was a suggested change to margin_footer.
margin_header_suggested: Option<bool>
Indicates if there was a suggested change to margin_header.
margin_left_suggested: Option<bool>
Indicates if there was a suggested change to margin_left.
margin_right_suggested: Option<bool>
Indicates if there was a suggested change to margin_right.
margin_top_suggested: Option<bool>
Indicates if there was a suggested change to margin_top.
page_number_start_suggested: Option<bool>
Indicates if there was a suggested change to page_number_start.
page_size_suggestion_state: Option<SizeSuggestionState>
A mask that indicates which of the fields in size have been changed in this suggestion.
Indicates if there was a suggested change to use_custom_header_footer_margins.
Indicates if there was a suggested change to use_even_page_header_footer.
Indicates if there was a suggested change to use_first_page_header_footer.
Trait Implementations§
Source§impl Clone for DocumentStyleSuggestionState
impl Clone for DocumentStyleSuggestionState
Source§fn clone(&self) -> DocumentStyleSuggestionState
fn clone(&self) -> DocumentStyleSuggestionState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DocumentStyleSuggestionState
impl Debug for DocumentStyleSuggestionState
Source§impl Default for DocumentStyleSuggestionState
impl Default for DocumentStyleSuggestionState
Source§fn default() -> DocumentStyleSuggestionState
fn default() -> DocumentStyleSuggestionState
Source§impl<'de> Deserialize<'de> for DocumentStyleSuggestionState
impl<'de> Deserialize<'de> for DocumentStyleSuggestionState
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>,
impl Part for DocumentStyleSuggestionState
Auto Trait Implementations§
impl Freeze for DocumentStyleSuggestionState
impl RefUnwindSafe for DocumentStyleSuggestionState
impl Send for DocumentStyleSuggestionState
impl Sync for DocumentStyleSuggestionState
impl Unpin for DocumentStyleSuggestionState
impl UnwindSafe for DocumentStyleSuggestionState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more