Struct google_groups_settings::groups::Groups
source · pub struct Groups {
pub client: Client,
}Fields
client: ClientImplementations
sourceimpl Groups
impl Groups
sourcepub async fn get(&self, alt: Alt, group_unique_id: &str) -> Result<Groups>
pub async fn get(&self, alt: Alt, group_unique_id: &str) -> Result<Groups>
This function performs a GET to the /{groupUniqueId} endpoint.
Gets one resource by id.
Parameters:
group_unique_id: &str– Identifies whether members external to your organization can join the group. Possible values are:
- true: G Suite users external to your organization can become members of this group.
- false: Users not belonging to the organization are not allowed to become members of this group.
sourcepub async fn update(
&self,
alt: Alt,
group_unique_id: &str,
body: &Groups
) -> Result<Groups>
pub async fn update(
&self,
alt: Alt,
group_unique_id: &str,
body: &Groups
) -> Result<Groups>
This function performs a PUT to the /{groupUniqueId} endpoint.
Updates an existing resource.
Parameters:
group_unique_id: &str– Identifies whether members external to your organization can join the group. Possible values are:
- true: G Suite users external to your organization can become members of this group.
- false: Users not belonging to the organization are not allowed to become members of this group.
sourcepub async fn patch(
&self,
alt: Alt,
group_unique_id: &str,
body: &Groups
) -> Result<Groups>
pub async fn patch(
&self,
alt: Alt,
group_unique_id: &str,
body: &Groups
) -> Result<Groups>
This function performs a PATCH to the /{groupUniqueId} endpoint.
Updates an existing resource. This method supports patch semantics.
Parameters:
group_unique_id: &str– Identifies whether members external to your organization can join the group. Possible values are:
- true: G Suite users external to your organization can become members of this group.
- false: Users not belonging to the organization are not allowed to become members of this group.
Auto Trait Implementations
impl !RefUnwindSafe for Groups
impl Send for Groups
impl Sync for Groups
impl Unpin for Groups
impl !UnwindSafe for Groups
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