Struct notion_client::endpoints::users::UsersEndpoint
source · pub struct UsersEndpoint { /* private fields */ }
Implementations§
source§impl UsersEndpoint
impl UsersEndpoint
pub async fn list_all_users( &self, start_cursor: Option<&str>, page_size: Option<u32> ) -> Result<ListAllUsersResponse, NotionClientError>
source§impl UsersEndpoint
impl UsersEndpoint
pub async fn retrieve_a_user( &self, user_id: &str ) -> Result<User, NotionClientError>
pub async fn retrieve_your_tokens_bot_user( &self ) -> Result<User, NotionClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for UsersEndpoint
impl !Send for UsersEndpoint
impl !Sync for UsersEndpoint
impl Unpin for UsersEndpoint
impl !UnwindSafe for UsersEndpoint
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