pub struct PagesEndpoint { /* private fields */ }
Implementations§
Source§impl PagesEndpoint
impl PagesEndpoint
pub async fn create_a_page( &self, request: CreateAPageRequest, ) -> Result<Page, NotionClientError>
Source§impl PagesEndpoint
impl PagesEndpoint
pub async fn retrieve_a_page( &self, page_id: &str, filter_properties: Option<Vec<&str>>, ) -> Result<Page, NotionClientError>
pub async fn retrieve_a_page_property_item( &self, page_id: &str, property_id: &str, page_size: Option<u32>, start_cursor: Option<&str>, ) -> Result<RetrieveAPagePropertyItemResponse, NotionClientError>
Source§impl PagesEndpoint
impl PagesEndpoint
pub async fn update_page_properties( &self, page_id: &str, request: UpdatePagePropertiesRequest, ) -> Result<Page, NotionClientError>
Trait Implementations§
Source§impl Clone for PagesEndpoint
impl Clone for PagesEndpoint
Source§fn clone(&self) -> PagesEndpoint
fn clone(&self) -> PagesEndpoint
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 Freeze for PagesEndpoint
impl !RefUnwindSafe for PagesEndpoint
impl Send for PagesEndpoint
impl Sync for PagesEndpoint
impl Unpin for PagesEndpoint
impl !UnwindSafe for PagesEndpoint
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