Struct tdlib_types::methods::GetWebPageInstantView
source · Expand description
Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page
Fields
url: String
The web page URL
force_full: bool
If true, the full instant view for the web page will be returned
Trait Implementations
sourceimpl Clone for GetWebPageInstantView
impl Clone for GetWebPageInstantView
sourcefn clone(&self) -> GetWebPageInstantView
fn clone(&self) -> GetWebPageInstantView
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 moresourceimpl Debug for GetWebPageInstantView
impl Debug for GetWebPageInstantView
sourceimpl<'de> Deserialize<'de> for GetWebPageInstantView
impl<'de> Deserialize<'de> for GetWebPageInstantView
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 Method for GetWebPageInstantView
impl Method for GetWebPageInstantView
const TYPE: &'static str = "getWebPageInstantView"
type Response = WebPageInstantView
fn tag(self) -> MethodType<Self>where
Self: Sized,
sourceimpl Serialize for GetWebPageInstantView
impl Serialize for GetWebPageInstantView
Auto Trait Implementations
impl RefUnwindSafe for GetWebPageInstantView
impl Send for GetWebPageInstantView
impl Sync for GetWebPageInstantView
impl Unpin for GetWebPageInstantView
impl UnwindSafe for GetWebPageInstantView
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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