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