[−][src]Enum rust_tdlib::types::PageBlock
Describes a block of an instant view web page
Variants
Anchor(PageBlockAnchor)
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor
Animation(PageBlockAnimation)
An animation
Audio(PageBlockAudio)
An audio file
AuthorDate(PageBlockAuthorDate)
The author and publishing date of a page
BlockQuote(PageBlockBlockQuote)
A block quote
ChatLink(PageBlockChatLink)
A link to a chat
Collage(PageBlockCollage)
A collage
Cover(PageBlockCover)
A page cover
Details(PageBlockDetails)
A collapsible block
Divider(PageBlockDivider)
An empty block separating a page
Embedded(PageBlockEmbedded)
An embedded web page
EmbeddedPost(PageBlockEmbeddedPost)
An embedded post
The footer of a page
Header(PageBlockHeader)
A header
Kicker(PageBlockKicker)
A kicker
List(PageBlockList)
A list of data blocks
Map(PageBlockMap)
A map
Paragraph(PageBlockParagraph)
A text paragraph
Photo(PageBlockPhoto)
A photo
Preformatted(PageBlockPreformatted)
A preformatted text paragraph
PullQuote(PageBlockPullQuote)
A pull quote
RelatedArticles(PageBlockRelatedArticles)
Related articles
Slideshow(PageBlockSlideshow)
A slideshow
Subheader(PageBlockSubheader)
A subheader
Subtitle(PageBlockSubtitle)
The subtitle of a page
Table(PageBlockTable)
A table
Title(PageBlockTitle)
The title of a page
Video(PageBlockVideo)
A video
VoiceNote(PageBlockVoiceNote)
A voice note
Implementations
impl PageBlock
[src]
Trait Implementations
impl AsRef<PageBlock> for PageBlock
[src]
impl Clone for PageBlock
[src]
impl Debug for PageBlock
[src]
impl Default for PageBlock
[src]
impl<'de> Deserialize<'de> for PageBlock
[src]
pub fn deserialize<D>(deserializer: D) -> Result<PageBlock, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl RObject for PageBlock
[src]
impl Serialize for PageBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for PageBlock
[src]
impl Send for PageBlock
[src]
impl Sync for PageBlock
[src]
impl Unpin for PageBlock
[src]
impl UnwindSafe for PageBlock
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,