pub struct Client {
pub notionrs_client: Client,
}
Fields§
§notionrs_client: Client
Implementations§
Source§impl Client
impl Client
pub fn new<T>(secret: T) -> Self
pub fn convert_block<'life0, 'life_self, 'async_recursion>(
&'life_self mut self,
page_id: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Block>, Error>> + Send + 'async_recursion>>where
'life0: 'async_recursion,
'life_self: 'async_recursion,
pub async fn convert_rich_text( rich_text: Vec<RichText>, ) -> Result<Vec<Block>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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