pub struct RichLinkProperties {
pub mime_type: Option<String>,
pub uri: Option<String>,
}Expand description
Properties of a link to a Google resource (such as a file in Drive, a YouTube video, a Maps address, or a Calendar event). Only Drive files can be written as chips. All other rich link types are read only. URIs cannot exceed 2000 bytes when writing. NOTE: Writing Drive file chips requires at least one of the drive.file, drive.readonly, or drive OAuth scopes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§mime_type: Option<String>Output only. The MIME type of the link, if there’s one (for example, when it’s a file in Drive).
uri: Option<String>Required. The URI to the link. This is always present.
Trait Implementations§
Source§impl Clone for RichLinkProperties
impl Clone for RichLinkProperties
Source§fn clone(&self) -> RichLinkProperties
fn clone(&self) -> RichLinkProperties
Returns a duplicate 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 RichLinkProperties
impl Debug for RichLinkProperties
Source§impl Default for RichLinkProperties
impl Default for RichLinkProperties
Source§fn default() -> RichLinkProperties
fn default() -> RichLinkProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RichLinkProperties
impl<'de> Deserialize<'de> for RichLinkProperties
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 RichLinkProperties
impl Serialize for RichLinkProperties
impl Part for RichLinkProperties
Auto Trait Implementations§
impl Freeze for RichLinkProperties
impl RefUnwindSafe for RichLinkProperties
impl Send for RichLinkProperties
impl Sync for RichLinkProperties
impl Unpin for RichLinkProperties
impl UnwindSafe for RichLinkProperties
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