pub struct AssignUserRoleRequestArgs { /* private fields */ }Expand description
Builder for PublicAssignOrganizationUserRoleBody.
Implementations§
Source§impl AssignUserRoleRequestArgs
impl AssignUserRoleRequestArgs
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<PublicAssignOrganizationUserRoleBody, OpenAIError>
pub fn build(&self) -> Result<PublicAssignOrganizationUserRoleBody, OpenAIError>
Builds a new PublicAssignOrganizationUserRoleBody.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AssignUserRoleRequestArgs
impl Clone for AssignUserRoleRequestArgs
Source§fn clone(&self) -> AssignUserRoleRequestArgs
fn clone(&self) -> AssignUserRoleRequestArgs
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 AssignUserRoleRequestArgs
impl Debug for AssignUserRoleRequestArgs
Auto Trait Implementations§
impl Freeze for AssignUserRoleRequestArgs
impl RefUnwindSafe for AssignUserRoleRequestArgs
impl Send for AssignUserRoleRequestArgs
impl Sync for AssignUserRoleRequestArgs
impl Unpin for AssignUserRoleRequestArgs
impl UnwindSafe for AssignUserRoleRequestArgs
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