pub struct UsageCodeInterpreterSessionsResult {
pub num_sessions: Option<u64>,
pub project_id: Option<String>,
}
Expand description
The aggregated code interpreter sessions usage details of the specific time bucket.
Fields§
§num_sessions: Option<u64>
The 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.
Implementations§
Source§impl UsageCodeInterpreterSessionsResult
impl UsageCodeInterpreterSessionsResult
Sourcepub fn builder() -> UsageCodeInterpreterSessionsResultBuilder<((), ())>
pub fn builder() -> UsageCodeInterpreterSessionsResultBuilder<((), ())>
Create a builder for building UsageCodeInterpreterSessionsResult
.
On the builder, call .num_sessions(...)
(optional), .project_id(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of UsageCodeInterpreterSessionsResult
.
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 Default for UsageCodeInterpreterSessionsResult
impl Default for UsageCodeInterpreterSessionsResult
Source§fn default() -> UsageCodeInterpreterSessionsResult
fn default() -> UsageCodeInterpreterSessionsResult
Returns the “default value” for a type. Read more
Source§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
Source§impl PartialEq for UsageCodeInterpreterSessionsResult
impl PartialEq for UsageCodeInterpreterSessionsResult
Source§fn eq(&self, other: &UsageCodeInterpreterSessionsResult) -> bool
fn eq(&self, other: &UsageCodeInterpreterSessionsResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UsageCodeInterpreterSessionsResult
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