Struct google_docs1::api::SuggestedTextStyle
source · pub struct SuggestedTextStyle {
pub text_style: Option<TextStyle>,
pub text_style_suggestion_state: Option<TextStyleSuggestionState>,
}
Expand description
A suggested change to a TextStyle.
This type is not used in any activity, and only used as part of another schema.
Fields§
§text_style: Option<TextStyle>
A TextStyle that only includes the changes made in this suggestion. This can be used along with the text_style_suggestion_state to see which fields have changed and their new values.
text_style_suggestion_state: Option<TextStyleSuggestionState>
A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion.
Trait Implementations§
source§impl Clone for SuggestedTextStyle
impl Clone for SuggestedTextStyle
source§fn clone(&self) -> SuggestedTextStyle
fn clone(&self) -> SuggestedTextStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SuggestedTextStyle
impl Debug for SuggestedTextStyle
source§impl Default for SuggestedTextStyle
impl Default for SuggestedTextStyle
source§fn default() -> SuggestedTextStyle
fn default() -> SuggestedTextStyle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SuggestedTextStyle
impl<'de> Deserialize<'de> for SuggestedTextStyle
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SuggestedTextStyle
impl Serialize for SuggestedTextStyle
impl Part for SuggestedTextStyle
Auto Trait Implementations§
impl RefUnwindSafe for SuggestedTextStyle
impl Send for SuggestedTextStyle
impl Sync for SuggestedTextStyle
impl Unpin for SuggestedTextStyle
impl UnwindSafe for SuggestedTextStyle
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
Mutably borrows from an owned value. Read more