pub struct CodexUsageResponse {
pub user_id: String,
pub account_id: String,
pub email: String,
pub plan_type: String,
pub rate_limit: CodexRateLimit,
pub code_review_rate_limit: CodexRateLimit,
pub additional_rate_limits: Option<Value>,
pub credits: CodexCredits,
pub promo: Option<Value>,
}Fields§
§user_id: String§account_id: String§email: String§plan_type: String§rate_limit: CodexRateLimit§code_review_rate_limit: CodexRateLimit§additional_rate_limits: Option<Value>§credits: CodexCredits§promo: Option<Value>Trait Implementations§
Source§impl Debug for CodexUsageResponse
impl Debug for CodexUsageResponse
Source§impl<'de> Deserialize<'de> for CodexUsageResponse
impl<'de> Deserialize<'de> for CodexUsageResponse
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 CodexUsageResponse
impl RefUnwindSafe for CodexUsageResponse
impl Send for CodexUsageResponse
impl Sync for CodexUsageResponse
impl Unpin for CodexUsageResponse
impl UnsafeUnpin for CodexUsageResponse
impl UnwindSafe for CodexUsageResponse
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