pub struct WebPageInstantView {
pub page_blocks: Vec<PageBlock>,
pub view_count: i32,
pub version: i32,
pub is_rtl: bool,
pub is_full: bool,
pub feedback_link: InternalLinkType,
}
Expand description
Describes an instant view page for a web page
Fields§
§page_blocks: Vec<PageBlock>
Content of the web page
view_count: i32
Number of the instant view views; 0 if unknown
version: i32
Version of the instant view; currently, can be 1 or 2
is_rtl: bool
True, if the instant view must be shown from right to left
is_full: bool
True, if the instant view contains the full page. A network request might be needed to get the full web page instant view
feedback_link: InternalLinkType
An internal link to be opened to leave feedback about the instant view
Trait Implementations§
Source§impl Clone for WebPageInstantView
impl Clone for WebPageInstantView
Source§fn clone(&self) -> WebPageInstantView
fn clone(&self) -> WebPageInstantView
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 WebPageInstantView
impl Debug for WebPageInstantView
Source§impl<'de> Deserialize<'de> for WebPageInstantView
impl<'de> Deserialize<'de> for WebPageInstantView
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 PartialEq for WebPageInstantView
impl PartialEq for WebPageInstantView
Source§impl Serialize for WebPageInstantView
impl Serialize for WebPageInstantView
impl StructuralPartialEq for WebPageInstantView
Auto Trait Implementations§
impl Freeze for WebPageInstantView
impl RefUnwindSafe for WebPageInstantView
impl Send for WebPageInstantView
impl Sync for WebPageInstantView
impl Unpin for WebPageInstantView
impl UnwindSafe for WebPageInstantView
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