pub struct ParagraphStyleSuggestionState {Show 21 fields
pub alignment_suggested: Option<bool>,
pub avoid_widow_and_orphan_suggested: Option<bool>,
pub border_between_suggested: Option<bool>,
pub border_bottom_suggested: Option<bool>,
pub border_left_suggested: Option<bool>,
pub border_right_suggested: Option<bool>,
pub border_top_suggested: Option<bool>,
pub direction_suggested: Option<bool>,
pub heading_id_suggested: Option<bool>,
pub indent_end_suggested: Option<bool>,
pub indent_first_line_suggested: Option<bool>,
pub indent_start_suggested: Option<bool>,
pub keep_lines_together_suggested: Option<bool>,
pub keep_with_next_suggested: Option<bool>,
pub line_spacing_suggested: Option<bool>,
pub named_style_type_suggested: Option<bool>,
pub page_break_before_suggested: Option<bool>,
pub shading_suggestion_state: Option<ShadingSuggestionState>,
pub space_above_suggested: Option<bool>,
pub space_below_suggested: Option<bool>,
pub spacing_mode_suggested: Option<bool>,
}
Expand description
A mask that indicates which of the fields on the base ParagraphStyle 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§
§alignment_suggested: Option<bool>
Indicates if there was a suggested change to alignment.
avoid_widow_and_orphan_suggested: Option<bool>
Indicates if there was a suggested change to avoid_widow_and_orphan.
border_between_suggested: Option<bool>
Indicates if there was a suggested change to border_between.
border_bottom_suggested: Option<bool>
Indicates if there was a suggested change to border_bottom.
border_left_suggested: Option<bool>
Indicates if there was a suggested change to border_left.
border_right_suggested: Option<bool>
Indicates if there was a suggested change to border_right.
border_top_suggested: Option<bool>
Indicates if there was a suggested change to border_top.
direction_suggested: Option<bool>
Indicates if there was a suggested change to direction.
heading_id_suggested: Option<bool>
Indicates if there was a suggested change to heading_id.
indent_end_suggested: Option<bool>
Indicates if there was a suggested change to indent_end.
indent_first_line_suggested: Option<bool>
Indicates if there was a suggested change to indent_first_line.
indent_start_suggested: Option<bool>
Indicates if there was a suggested change to indent_start.
keep_lines_together_suggested: Option<bool>
Indicates if there was a suggested change to keep_lines_together.
keep_with_next_suggested: Option<bool>
Indicates if there was a suggested change to keep_with_next.
line_spacing_suggested: Option<bool>
Indicates if there was a suggested change to line_spacing.
named_style_type_suggested: Option<bool>
Indicates if there was a suggested change to named_style_type.
page_break_before_suggested: Option<bool>
Indicates if there was a suggested change to page_break_before.
shading_suggestion_state: Option<ShadingSuggestionState>
A mask that indicates which of the fields in shading have been changed in this suggestion.
space_above_suggested: Option<bool>
Indicates if there was a suggested change to space_above.
space_below_suggested: Option<bool>
Indicates if there was a suggested change to space_below.
spacing_mode_suggested: Option<bool>
Indicates if there was a suggested change to spacing_mode.
Trait Implementations§
Source§impl Clone for ParagraphStyleSuggestionState
impl Clone for ParagraphStyleSuggestionState
Source§fn clone(&self) -> ParagraphStyleSuggestionState
fn clone(&self) -> ParagraphStyleSuggestionState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ParagraphStyleSuggestionState
impl Default for ParagraphStyleSuggestionState
Source§fn default() -> ParagraphStyleSuggestionState
fn default() -> ParagraphStyleSuggestionState
Source§impl<'de> Deserialize<'de> for ParagraphStyleSuggestionState
impl<'de> Deserialize<'de> for ParagraphStyleSuggestionState
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 ParagraphStyleSuggestionState
Auto Trait Implementations§
impl Freeze for ParagraphStyleSuggestionState
impl RefUnwindSafe for ParagraphStyleSuggestionState
impl Send for ParagraphStyleSuggestionState
impl Sync for ParagraphStyleSuggestionState
impl Unpin for ParagraphStyleSuggestionState
impl UnwindSafe for ParagraphStyleSuggestionState
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