pub struct InternalLinkTypeInstantView {
pub url: String,
pub fallback_url: String,
}
Expand description
The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link. If Instant View is found, then show it, otherwise, open the fallback URL in an external browser
Fields§
§url: String
URL to be passed to getWebPageInstantView
fallback_url: String
An URL to open if getWebPageInstantView fails
Trait Implementations§
Source§impl Clone for InternalLinkTypeInstantView
impl Clone for InternalLinkTypeInstantView
Source§fn clone(&self) -> InternalLinkTypeInstantView
fn clone(&self) -> InternalLinkTypeInstantView
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 InternalLinkTypeInstantView
impl Debug for InternalLinkTypeInstantView
Source§impl Default for InternalLinkTypeInstantView
impl Default for InternalLinkTypeInstantView
Source§fn default() -> InternalLinkTypeInstantView
fn default() -> InternalLinkTypeInstantView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeInstantView
impl<'de> Deserialize<'de> for InternalLinkTypeInstantView
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 InternalLinkTypeInstantView
Auto Trait Implementations§
impl Freeze for InternalLinkTypeInstantView
impl RefUnwindSafe for InternalLinkTypeInstantView
impl Send for InternalLinkTypeInstantView
impl Sync for InternalLinkTypeInstantView
impl Unpin for InternalLinkTypeInstantView
impl UnwindSafe for InternalLinkTypeInstantView
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