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

source§

fn clone(&self) -> ParagraphStyleSuggestionState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParagraphStyleSuggestionState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ParagraphStyleSuggestionState

source§

fn default() -> ParagraphStyleSuggestionState

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ParagraphStyleSuggestionState

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ParagraphStyleSuggestionState

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for ParagraphStyleSuggestionState

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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