pub struct Hyperlink {
pub url: String,
pub report_id: Option<u64>,
pub sheet_id: Option<u64>,
pub sight_id: Option<u64>,
}
Expand description
Represents a hyperlink to a dashboard, report, sheet, or URL.
https://smartsheet-platform.github.io/api-docs/#hyperlink-object
Fields§
§url: String
When the hyperlink is a URL link, this property contains the URL value.
When the hyperlink is a dashboard/report/sheet link (that is, dashboardId, reportId, or sheetId is non-null), this property contains the permalink to the dashboard, report, or sheet.
report_id: Option<u64>
If non-null, this hyperlink is a link to the report with this Id.
sheet_id: Option<u64>
If non-null, this hyperlink is a link to the sheet with this Id.
sight_id: Option<u64>
If non-null, this hyperlink is a link to the dashboard with this Id.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hyperlink
impl<'de> Deserialize<'de> for Hyperlink
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 StructuralPartialEq for Hyperlink
Auto Trait Implementations§
impl Freeze for Hyperlink
impl RefUnwindSafe for Hyperlink
impl Send for Hyperlink
impl Sync for Hyperlink
impl Unpin for Hyperlink
impl UnwindSafe for Hyperlink
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