pub struct ProjectRateLimit {
pub batch_1_day_max_input_tokens: Option<i32>,
pub id: String,
pub max_audio_megabytes_per_1_minute: Option<i32>,
pub max_images_per_1_minute: Option<i32>,
pub max_requests_per_1_day: Option<i32>,
pub max_requests_per_1_minute: i32,
pub max_tokens_per_1_minute: i32,
pub model: String,
pub object: String,
}
Fields§
§batch_1_day_max_input_tokens: Option<i32>
The maximum batch input tokens per day. Only present for relevant models.
id: String
The identifier, which can be referenced in API endpoints.
max_audio_megabytes_per_1_minute: Option<i32>
The maximum audio megabytes per minute. Only present for relevant models.
max_images_per_1_minute: Option<i32>
The maximum images per minute. Only present for relevant models.
max_requests_per_1_day: Option<i32>
The maximum requests per day. Only present for relevant models.
max_requests_per_1_minute: i32
The maximum requests per minute.
max_tokens_per_1_minute: i32
The maximum tokens per minute.
model: String
The model this rate limit applies to.
object: String
The object type, which is always project.rate_limit
Trait Implementations§
Source§impl Debug for ProjectRateLimit
impl Debug for ProjectRateLimit
Source§impl<'de> Deserialize<'de> for ProjectRateLimit
impl<'de> Deserialize<'de> for ProjectRateLimit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectRateLimit
impl RefUnwindSafe for ProjectRateLimit
impl Send for ProjectRateLimit
impl Sync for ProjectRateLimit
impl Unpin for ProjectRateLimit
impl UnwindSafe for ProjectRateLimit
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