Struct notion_client::endpoints::comments::CommentsEndpoint
source · pub struct CommentsEndpoint { /* private fields */ }Implementations§
source§impl CommentsEndpoint
impl CommentsEndpoint
pub async fn create_comment( &self, request: CreateCommentRequest ) -> Result<Comment, NotionClientError>
source§impl CommentsEndpoint
impl CommentsEndpoint
pub async fn retrieve_a_user( &self, block_id: &str, start_cursor: Option<&str>, page_size: Option<u32> ) -> Result<RetrieveCommentsResponse, NotionClientError>
Trait Implementations§
source§impl Clone for CommentsEndpoint
impl Clone for CommentsEndpoint
source§fn clone(&self) -> CommentsEndpoint
fn clone(&self) -> CommentsEndpoint
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 CommentsEndpoint
impl Send for CommentsEndpoint
impl Sync for CommentsEndpoint
impl Unpin for CommentsEndpoint
impl !UnwindSafe for CommentsEndpoint
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