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 Freeze for CommentsEndpoint
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