pub struct ProjectCreateRequestArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for ProjectCreateRequest.
Implementations§
Source§impl ProjectCreateRequestArgs
impl ProjectCreateRequestArgs
Sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The friendly name of the project, this name appears in reports.
Sourcepub fn geography<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn geography<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Create the project with the specified data residency region. Your organization must have access to Data residency functionality in order to use. See data residency controls to review the functionality and limitations of setting this field.
Sourcepub fn external_key_id<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn external_key_id<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
External key ID to associate with the project.
Sourcepub fn build(&self) -> Result<ProjectCreateRequest, OpenAIError>
pub fn build(&self) -> Result<ProjectCreateRequest, OpenAIError>
Trait Implementations§
Source§impl Clone for ProjectCreateRequestArgs
impl Clone for ProjectCreateRequestArgs
Source§fn clone(&self) -> ProjectCreateRequestArgs
fn clone(&self) -> ProjectCreateRequestArgs
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 ProjectCreateRequestArgs
impl Debug for ProjectCreateRequestArgs
Auto Trait Implementations§
impl Freeze for ProjectCreateRequestArgs
impl RefUnwindSafe for ProjectCreateRequestArgs
impl Send for ProjectCreateRequestArgs
impl Sync for ProjectCreateRequestArgs
impl Unpin for ProjectCreateRequestArgs
impl UnsafeUnpin for ProjectCreateRequestArgs
impl UnwindSafe for ProjectCreateRequestArgs
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