pub struct ProjectRateLimitUpdateRequestArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for ProjectRateLimitUpdateRequest.
Implementations§
Source§impl ProjectRateLimitUpdateRequestArgs
impl ProjectRateLimitUpdateRequestArgs
Sourcepub fn max_requests_per_1_minute<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_requests_per_1_minute<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum requests per minute.
Sourcepub fn max_tokens_per_1_minute<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_tokens_per_1_minute<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum tokens per minute.
Sourcepub fn max_images_per_1_minute<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_images_per_1_minute<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum images per minute. Only relevant for certain models.
Sourcepub fn max_audio_megabytes_per_1_minute<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_audio_megabytes_per_1_minute<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum audio megabytes per minute. Only relevant for certain models.
Sourcepub fn max_requests_per_1_day<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_requests_per_1_day<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum requests per day. Only relevant for certain models.
Sourcepub fn batch_1_day_max_input_tokens<VALUE: Into<i64>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn batch_1_day_max_input_tokens<VALUE: Into<i64>>( &mut self, value: VALUE, ) -> &mut Self
The maximum batch input tokens per day. Only relevant for certain models.
Sourcepub fn build(&self) -> Result<ProjectRateLimitUpdateRequest, OpenAIError>
pub fn build(&self) -> Result<ProjectRateLimitUpdateRequest, OpenAIError>
Trait Implementations§
Source§impl Clone for ProjectRateLimitUpdateRequestArgs
impl Clone for ProjectRateLimitUpdateRequestArgs
Source§fn clone(&self) -> ProjectRateLimitUpdateRequestArgs
fn clone(&self) -> ProjectRateLimitUpdateRequestArgs
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 moreAuto Trait Implementations§
impl Freeze for ProjectRateLimitUpdateRequestArgs
impl RefUnwindSafe for ProjectRateLimitUpdateRequestArgs
impl Send for ProjectRateLimitUpdateRequestArgs
impl Sync for ProjectRateLimitUpdateRequestArgs
impl Unpin for ProjectRateLimitUpdateRequestArgs
impl UnsafeUnpin for ProjectRateLimitUpdateRequestArgs
impl UnwindSafe for ProjectRateLimitUpdateRequestArgs
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