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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RichLink
impl<'de> Deserialize<'de> for RichLink
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 RichLink
Auto Trait Implementations§
impl Freeze for RichLink
impl RefUnwindSafe for RichLink
impl Send for RichLink
impl Sync for RichLink
impl Unpin for RichLink
impl UnwindSafe for RichLink
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