pub enum Link {
External {
target: String,
tooltip: Option<String>,
},
Internal {
location: String,
tooltip: Option<String>,
},
}Expand description
Represents a hyperlink in the worksheet, which can be either external or internal. The display text is not part of the link, it is the content of the cell the link is attached to. Links are just cell metadata.
Variants§
External
A link to a resource outside the workbook: an URL, a mailto: URI or a file.
If the target points to a location inside another document it is written
as target#location (e.g. file.xlsx#Sheet1!A1).
Internal
A link to a location in this workbook: a cell reference like Sheet1!A30
or a defined name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Link
impl<'de> Deserialize<'de> for Link
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<'__de> Decode<'__de> for Linkwhere
'__de:,
impl Encode for Link
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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