pub struct DataSourcesEndpoint { /* private fields */ }Implementations§
Source§impl DataSourcesEndpoint
impl DataSourcesEndpoint
pub async fn create_a_data_source( &self, request: CreateADataSourceRequest, ) -> Result<DataSource, NotionClientError>
Source§impl DataSourcesEndpoint
impl DataSourcesEndpoint
pub async fn query_a_data_source( &self, data_source_id: &str, request: QueryDatabaseRequest, ) -> Result<QueryDatabaseResponse, NotionClientError>
Source§impl DataSourcesEndpoint
impl DataSourcesEndpoint
pub async fn retrieve_a_data_source( &self, data_source_id: &str, ) -> Result<DataSource, NotionClientError>
Source§impl DataSourcesEndpoint
impl DataSourcesEndpoint
pub async fn update_a_data_source( &self, data_source_id: &str, request: UpdateADataSourceRequest, ) -> Result<DataSource, NotionClientError>
Trait Implementations§
Source§impl Clone for DataSourcesEndpoint
impl Clone for DataSourcesEndpoint
Source§fn clone(&self) -> DataSourcesEndpoint
fn clone(&self) -> DataSourcesEndpoint
Returns a duplicate 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 Freeze for DataSourcesEndpoint
impl !RefUnwindSafe for DataSourcesEndpoint
impl Send for DataSourcesEndpoint
impl Sync for DataSourcesEndpoint
impl Unpin for DataSourcesEndpoint
impl UnsafeUnpin for DataSourcesEndpoint
impl !UnwindSafe for DataSourcesEndpoint
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