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