Enum notion_rs::BlockData[][src]

pub enum BlockData {
    Divider {},
    TableOfContents {},
    Breadcrumb {},
    Callout {},
    Header {},
    SubHeader {},
    SubSubHeader {},
    Quote {},
    ToDo {},
    BulletedList {},
    Page {},
    Toggle {},
    NumberedList {},
    Text {},
    Equation {},
    Factory {},
    ColumnList {},
    Column {},
    Code {
        language: Option<String>,
    },
    Bookmark {
        link: Option<String>,
    },
    Image {
        source: Option<String>,
        caption: Option<String>,
    },
    Video {
        caption: Option<String>,
        source: Option<String>,
    },
    CollectionView {},
    Unknown,
}

Internal data for Notion Blocks Note that every field might not be captured

Variants

Divider

Fields of Divider

TableOfContents

Fields of TableOfContents

Breadcrumb

Fields of Breadcrumb

Callout

Fields of Callout

Header

Fields of Header

SubHeader

Fields of SubHeader

SubSubHeader

Fields of SubSubHeader

Quote

Fields of Quote

ToDo

Fields of ToDo

BulletedList

Fields of BulletedList

Page

Fields of Page

Toggle

Fields of Toggle

NumberedList

Fields of NumberedList

Text

Fields of Text

Equation

Fields of Equation

Factory

Fields of Factory

ColumnList

Fields of ColumnList

Column

Fields of Column

Code

Fields of Code

language: Option<String>
Bookmark

Fields of Bookmark

link: Option<String>
Image

Fields of Image

source: Option<String>caption: Option<String>
Video

Fields of Video

caption: Option<String>source: Option<String>
CollectionView

Fields of CollectionView

Unknown

Trait Implementations

impl Clone for BlockData[src]

impl Debug for BlockData[src]

impl<'de> Deserialize<'de> for BlockData[src]

impl PartialEq<BlockData> for BlockData[src]

impl Serialize for BlockData[src]

impl StructuralPartialEq for BlockData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,