pub struct ExtraWindow {
pub title: Option<String>,
pub id: Option<String>,
pub window: Option<RateWindow>,
}Expand description
A per-model window bundled under one account (e.g. Antigravity’s Geminis).
Fields§
§title: Option<String>Human-facing label. Absent when the producer has no display text for this
window; render id instead rather than dropping the entry.
id: Option<String>Stable identifier to match on. Absent when the producer cannot name the
window stably. Not unique across providers — one provider’s ids are
model names, another’s its own scope labels — so key on
(provider, id), never on id alone.
window: Option<RateWindow>The figures for this window. Absent means the provider named a limit it could not read a figure for, which is not the same as no limit: the entry is still evidence the limit exists.
Trait Implementations§
Source§impl Clone for ExtraWindow
impl Clone for ExtraWindow
Source§impl Debug for ExtraWindow
impl Debug for ExtraWindow
Source§impl<'de> Deserialize<'de> for ExtraWindow
impl<'de> Deserialize<'de> for ExtraWindow
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 ExtraWindow
impl PartialEq for ExtraWindow
Source§impl Serialize for ExtraWindow
impl Serialize for ExtraWindow
impl StructuralPartialEq for ExtraWindow
Auto Trait Implementations§
impl Freeze for ExtraWindow
impl RefUnwindSafe for ExtraWindow
impl Send for ExtraWindow
impl Sync for ExtraWindow
impl Unpin for ExtraWindow
impl UnsafeUnpin for ExtraWindow
impl UnwindSafe for ExtraWindow
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