pub struct UsageCodeInterpreterSessionsResult {
pub object: String,
pub num_sessions: u64,
pub project_id: Option<String>,
pub api_key_id: Option<String>,
}Expand description
The aggregated code interpreter sessions usage details of the specific time bucket.
Fields§
§object: StringThe object type, which is always organization.usage.code_interpreter_sessions.result.
num_sessions: u64The number of code interpreter sessions.
project_id: Option<String>When group_by=project_id, this field provides the project ID of the grouped usage result.
api_key_id: Option<String>When group_by=api_key_id, this field provides the API key ID of the grouped usage result.
Trait Implementations§
Source§impl Clone for UsageCodeInterpreterSessionsResult
impl Clone for UsageCodeInterpreterSessionsResult
Source§fn clone(&self) -> UsageCodeInterpreterSessionsResult
fn clone(&self) -> UsageCodeInterpreterSessionsResult
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 moreSource§impl<'de> Deserialize<'de> for UsageCodeInterpreterSessionsResult
impl<'de> Deserialize<'de> for UsageCodeInterpreterSessionsResult
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 UsageCodeInterpreterSessionsResult
impl RefUnwindSafe for UsageCodeInterpreterSessionsResult
impl Send for UsageCodeInterpreterSessionsResult
impl Sync for UsageCodeInterpreterSessionsResult
impl Unpin for UsageCodeInterpreterSessionsResult
impl UnwindSafe for UsageCodeInterpreterSessionsResult
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