pub enum UsageCodeInterpreterSessionsParamsBucketWidth {
_1m,
_1h,
_1d,
}
Expand description
Width of each time bucket in response. Currently 1m
, 1h
and 1d
are supported, default to 1d
.
Variants§
Trait Implementations§
Source§impl Clone for UsageCodeInterpreterSessionsParamsBucketWidth
impl Clone for UsageCodeInterpreterSessionsParamsBucketWidth
Source§fn clone(&self) -> UsageCodeInterpreterSessionsParamsBucketWidth
fn clone(&self) -> UsageCodeInterpreterSessionsParamsBucketWidth
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UsageCodeInterpreterSessionsParamsBucketWidth
impl Default for UsageCodeInterpreterSessionsParamsBucketWidth
Source§fn default() -> UsageCodeInterpreterSessionsParamsBucketWidth
fn default() -> UsageCodeInterpreterSessionsParamsBucketWidth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageCodeInterpreterSessionsParamsBucketWidth
impl<'de> Deserialize<'de> for UsageCodeInterpreterSessionsParamsBucketWidth
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 UsageCodeInterpreterSessionsParamsBucketWidth
impl PartialEq for UsageCodeInterpreterSessionsParamsBucketWidth
Source§fn eq(&self, other: &UsageCodeInterpreterSessionsParamsBucketWidth) -> bool
fn eq(&self, other: &UsageCodeInterpreterSessionsParamsBucketWidth) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for UsageCodeInterpreterSessionsParamsBucketWidth
impl StructuralPartialEq for UsageCodeInterpreterSessionsParamsBucketWidth
Auto Trait Implementations§
impl Freeze for UsageCodeInterpreterSessionsParamsBucketWidth
impl RefUnwindSafe for UsageCodeInterpreterSessionsParamsBucketWidth
impl Send for UsageCodeInterpreterSessionsParamsBucketWidth
impl Sync for UsageCodeInterpreterSessionsParamsBucketWidth
impl Unpin for UsageCodeInterpreterSessionsParamsBucketWidth
impl UnwindSafe for UsageCodeInterpreterSessionsParamsBucketWidth
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