pub struct CodexLimitVerdict {
pub reached: bool,
pub reason: String,
pub reset_time: Option<String>,
pub timezone: Option<String>,
pub resets_at: Option<i64>,
pub window: Option<String>,
pub rollout_path: Option<PathBuf>,
}Expand description
Usage-limit verdict from a rollout
Fields§
§reached: bool§reason: String§reset_time: Option<String>Reset time formatted as MMM D, YYYY, h:mm A
timezone: Option<String>Always UTC when reset_time is set
resets_at: Option<i64>Reset epoch (seconds)
window: Option<String>5-hour, weekly, N-minute or usage
rollout_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for CodexLimitVerdict
impl Clone for CodexLimitVerdict
Source§impl Debug for CodexLimitVerdict
impl Debug for CodexLimitVerdict
Source§impl Default for CodexLimitVerdict
impl Default for CodexLimitVerdict
impl Eq for CodexLimitVerdict
Source§impl PartialEq for CodexLimitVerdict
impl PartialEq for CodexLimitVerdict
impl StructuralPartialEq for CodexLimitVerdict
Auto Trait Implementations§
impl Freeze for CodexLimitVerdict
impl RefUnwindSafe for CodexLimitVerdict
impl Send for CodexLimitVerdict
impl Sync for CodexLimitVerdict
impl Unpin for CodexLimitVerdict
impl UnsafeUnpin for CodexLimitVerdict
impl UnwindSafe for CodexLimitVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.