Struct google_docs1::api::AutoText
source · pub struct AutoText {
pub suggested_deletion_ids: Option<Vec<String>>,
pub suggested_insertion_ids: Option<Vec<String>>,
pub suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>,
pub text_style: Option<TextStyle>,
pub type_: Option<String>,
}
Expand description
A ParagraphElement representing a spot in the text that’s dynamically replaced with content that can change over time, like a page number.
This type is not used in any activity, and only used as part of another schema.
Fields§
§suggested_deletion_ids: Option<Vec<String>>
The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
suggested_insertion_ids: Option<Vec<String>>
The suggested insertion IDs. An AutoText may have multiple insertion IDs if it’s a nested suggested change. If empty, then this is not a suggested insertion.
suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>
The suggested text style changes to this AutoText, keyed by suggestion ID.
text_style: Option<TextStyle>
The text style of this AutoText.
type_: Option<String>
The type of this auto text.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AutoText
impl<'de> Deserialize<'de> for AutoText
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
impl Part for AutoText
Auto Trait Implementations§
impl RefUnwindSafe for AutoText
impl Send for AutoText
impl Sync for AutoText
impl Unpin for AutoText
impl UnwindSafe for AutoText
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