pub struct UserRoleUpdateRequestArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for UserRoleUpdateRequest.
Implementations§
Source§impl UserRoleUpdateRequestArgs
impl UserRoleUpdateRequestArgs
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
Role ID to assign to the user.
Sourcepub fn technical_level<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn technical_level<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Technical level metadata.
Sourcepub fn developer_persona<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn developer_persona<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Developer persona metadata.
Sourcepub fn build(&self) -> Result<UserRoleUpdateRequest, OpenAIError>
pub fn build(&self) -> Result<UserRoleUpdateRequest, OpenAIError>
Trait Implementations§
Source§impl Clone for UserRoleUpdateRequestArgs
impl Clone for UserRoleUpdateRequestArgs
Source§fn clone(&self) -> UserRoleUpdateRequestArgs
fn clone(&self) -> UserRoleUpdateRequestArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserRoleUpdateRequestArgs
impl Debug for UserRoleUpdateRequestArgs
Auto Trait Implementations§
impl Freeze for UserRoleUpdateRequestArgs
impl RefUnwindSafe for UserRoleUpdateRequestArgs
impl Send for UserRoleUpdateRequestArgs
impl Sync for UserRoleUpdateRequestArgs
impl Unpin for UserRoleUpdateRequestArgs
impl UnsafeUnpin for UserRoleUpdateRequestArgs
impl UnwindSafe for UserRoleUpdateRequestArgs
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