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>
Trait Implementations§
source§impl Clone for DatabasesEndpoint
impl Clone for DatabasesEndpoint
source§fn clone(&self) -> DatabasesEndpoint
fn clone(&self) -> DatabasesEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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