pub struct Roles {
pub client: Client,
}Fields§
§client: ClientImplementations§
Source§impl Roles
impl Roles
Sourcepub async fn get_page(&self, limit: u32, page_token: &str) -> Result<Vec<Role>>
pub async fn get_page(&self, limit: u32, page_token: &str) -> Result<Vec<Role>>
List built-in roles.
This function performs a GET to the /roles endpoint.
Parameters:
limit: u32– Maximum number of items returned by a single call.page_token: &str– Token returned by previous call to retrieve the subsequent page.
Auto Trait Implementations§
impl Freeze for Roles
impl !RefUnwindSafe for Roles
impl Send for Roles
impl Sync for Roles
impl Unpin for Roles
impl !UnwindSafe for Roles
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