Struct notion_client::endpoints::databases::DatabasesEndpoint
source · pub struct DatabasesEndpoint { /* private fields */ }
Implementations§
source§impl DatabasesEndpoint
impl DatabasesEndpoint
pub async fn create_a_database( &self, request: CreateADatabaseRequest ) -> Result<Database, NotionClientError>
source§impl DatabasesEndpoint
impl DatabasesEndpoint
pub async fn query_a_database( &self, database_id: &str, request: QueryDatabaseRequest ) -> Result<QueryDatabaseResponse, NotionClientError>
source§impl DatabasesEndpoint
impl DatabasesEndpoint
pub async fn retrieve_a_database( &self, database_id: &str ) -> Result<Database, NotionClientError>
source§impl DatabasesEndpoint
impl DatabasesEndpoint
pub async fn update_a_database( &self, database_id: &str, request: UpdateADatabaseRequest ) -> Result<Database, NotionClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for DatabasesEndpoint
impl !Send for DatabasesEndpoint
impl !Sync for DatabasesEndpoint
impl Unpin for DatabasesEndpoint
impl !UnwindSafe for DatabasesEndpoint
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