Struct notion_client::endpoints::blocks::BlocksEndpoint
source · pub struct BlocksEndpoint { /* private fields */ }
Implementations§
source§impl BlocksEndpoint
impl BlocksEndpoint
pub async fn append_block_children( &self, block_id: &str, request: AppendBlockChildrenRequest ) -> Result<Block, NotionClientError>
source§impl BlocksEndpoint
impl BlocksEndpoint
pub async fn delete_a_block( &self, block_id: &str ) -> Result<Block, NotionClientError>
source§impl BlocksEndpoint
impl BlocksEndpoint
pub async fn retrieve_a_block( &self, block_id: &str ) -> Result<Block, NotionClientError>
pub async fn retrieve_block_children( &self, block_id: &str, start_cursor: Option<&str>, page_size: Option<u32> ) -> Result<RetrieveBlockChilerenResponse, NotionClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for BlocksEndpoint
impl !Send for BlocksEndpoint
impl !Sync for BlocksEndpoint
impl Unpin for BlocksEndpoint
impl !UnwindSafe for BlocksEndpoint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more