Struct gsuite_api::privileges::Privileges
source · pub struct Privileges {
pub client: Client,
}Fields
client: ClientImplementations
sourceimpl Privileges
impl Privileges
sourcepub async fn list(&self, customer: &str) -> Result<Privileges>
pub async fn list(&self, customer: &str) -> Result<Privileges>
This function performs a GET to the /admin/directory/v1/customer/{customer}/roles/ALL/privileges endpoint.
Retrieves a paginated list of all privileges for a customer.
Parameters:
customer: &str– Immutable ID of the Google Workspace account.
Auto Trait Implementations
impl !RefUnwindSafe for Privileges
impl Send for Privileges
impl Sync for Privileges
impl Unpin for Privileges
impl !UnwindSafe for Privileges
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more