pub struct AssignGroupRoleRequestArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for PublicAssignOrganizationGroupRoleBody.
Implementations§
Source§impl AssignGroupRoleRequestArgs
impl AssignGroupRoleRequestArgs
Sourcepub fn role_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn role_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identifier of the role to assign.
Sourcepub fn build(
&self,
) -> Result<PublicAssignOrganizationGroupRoleBody, OpenAIError>
pub fn build( &self, ) -> Result<PublicAssignOrganizationGroupRoleBody, OpenAIError>
Builds a new PublicAssignOrganizationGroupRoleBody.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AssignGroupRoleRequestArgs
impl Clone for AssignGroupRoleRequestArgs
Source§fn clone(&self) -> AssignGroupRoleRequestArgs
fn clone(&self) -> AssignGroupRoleRequestArgs
Returns a duplicate 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 moreSource§impl Debug for AssignGroupRoleRequestArgs
impl Debug for AssignGroupRoleRequestArgs
Auto Trait Implementations§
impl Freeze for AssignGroupRoleRequestArgs
impl RefUnwindSafe for AssignGroupRoleRequestArgs
impl Send for AssignGroupRoleRequestArgs
impl Sync for AssignGroupRoleRequestArgs
impl Unpin for AssignGroupRoleRequestArgs
impl UnwindSafe for AssignGroupRoleRequestArgs
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