pub struct Client {
pub notionrs_client: Client,
pub images: Vec<Image>,
}Fields§
§notionrs_client: Client§images: Vec<Image>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 fn convert_rich_text(rich_text: Vec<RichText>) -> Vec<Block>
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