Struct rust_tdlib::types::WebPageInstantView
source · [−]pub struct WebPageInstantView { /* private fields */ }Expand description
Describes an instant view page for a web page
Implementations
sourceimpl 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
sourceimpl AsRef<WebPageInstantView> for WebPageInstantView
impl AsRef<WebPageInstantView> for WebPageInstantView
sourcefn as_ref(&self) -> &WebPageInstantView
fn as_ref(&self) -> &WebPageInstantView
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for WebPageInstantView
impl Clone for WebPageInstantView
sourcefn clone(&self) -> WebPageInstantView
fn clone(&self) -> WebPageInstantView
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WebPageInstantView
impl Debug for WebPageInstantView
sourceimpl Default for WebPageInstantView
impl Default for WebPageInstantView
sourcefn default() -> WebPageInstantView
fn default() -> WebPageInstantView
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WebPageInstantView
impl<'de> Deserialize<'de> for WebPageInstantView
sourcefn 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
sourceimpl Serialize for WebPageInstantView
impl Serialize for WebPageInstantView
Auto Trait Implementations
impl RefUnwindSafe for WebPageInstantView
impl Send for WebPageInstantView
impl Sync for WebPageInstantView
impl Unpin for WebPageInstantView
impl UnwindSafe for WebPageInstantView
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more