Struct google_docs1::api::RichLink
source · pub struct RichLink {
pub rich_link_id: Option<String>,
pub rich_link_properties: Option<RichLinkProperties>,
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>,
}
Expand description
A link to a Google resource (such as a file in Drive, a YouTube video, or a Calendar event).
This type is not used in any activity, and only used as part of another schema.
Fields§
§rich_link_id: Option<String>
Output only. The ID of this link.
rich_link_properties: Option<RichLinkProperties>
Output only. The properties of this RichLink. This field is always present.
suggested_deletion_ids: Option<Vec<String>>
IDs for suggestions that remove this link from the document. A RichLink might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this person link isn’t suggested for deletion.
suggested_insertion_ids: Option<Vec<String>>
IDs for suggestions that insert this link into the document. A RichLink might have multiple insertion IDs if it’s a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this person link isn’t a suggested insertion.
suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>
The suggested text style changes to this RichLink, keyed by suggestion ID.
text_style: Option<TextStyle>
The text style of this RichLink.