pub struct Hyperlink {
pub type: Type,
pub url: Option<String>,
pub node_id: Option<String>,
}
Expand description
Hyperlink : A link to either a URL or another frame (node) in the document.
Fields§
§type: Type
The type of hyperlink. Can be either URL
or NODE
.
url: Option<String>
The URL that the hyperlink points to, if type
is URL
.
node_id: Option<String>
The ID of the node that the hyperlink points to, if type
is NODE
.
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