Struct rust_tdlib::types::WebPageInstantView
source · 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