pub struct CreateGroupUserRequestArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for CreateGroupUserBody.
Implementations§
Source§impl CreateGroupUserRequestArgs
impl CreateGroupUserRequestArgs
Sourcepub fn user_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn user_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identifier of the user to add to the group.
Sourcepub fn build(&self) -> Result<CreateGroupUserBody, OpenAIError>
pub fn build(&self) -> Result<CreateGroupUserBody, OpenAIError>
Trait Implementations§
Source§impl Clone for CreateGroupUserRequestArgs
impl Clone for CreateGroupUserRequestArgs
Source§fn clone(&self) -> CreateGroupUserRequestArgs
fn clone(&self) -> CreateGroupUserRequestArgs
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 CreateGroupUserRequestArgs
impl Debug for CreateGroupUserRequestArgs
Auto Trait Implementations§
impl Freeze for CreateGroupUserRequestArgs
impl RefUnwindSafe for CreateGroupUserRequestArgs
impl Send for CreateGroupUserRequestArgs
impl Sync for CreateGroupUserRequestArgs
impl Unpin for CreateGroupUserRequestArgs
impl UnwindSafe for CreateGroupUserRequestArgs
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