pub struct WebPageInstantView { /* private fields */ }
Expand description
Describes an instant view page for a web page
Implementations§
Source§impl WebPageInstantView
impl WebPageInstantView
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> WebPageInstantViewBuilder
pub fn page_blocks(&self) -> &Vec<PageBlock>
pub fn view_count(&self) -> i32
pub fn version(&self) -> i32
pub fn is_rtl(&self) -> bool
pub fn is_full(&self) -> bool
pub fn feedback_link(&self) -> &InternalLinkType
Trait Implementations§
Source§impl AsRef<WebPageInstantView> for WebPageInstantView
impl AsRef<WebPageInstantView> for WebPageInstantView
Source§fn as_ref(&self) -> &WebPageInstantView
fn as_ref(&self) -> &WebPageInstantView
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for WebPageInstantView
impl Clone for WebPageInstantView
Source§fn clone(&self) -> WebPageInstantView
fn clone(&self) -> WebPageInstantView
Returns a copy 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 Default for WebPageInstantView
impl Default for WebPageInstantView
Source§fn default() -> WebPageInstantView
fn default() -> WebPageInstantView
Returns the “default value” for a type. Read more
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
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