pub struct Go {
pub window_share: WindowShare,
pub models: Vec<Model>,
pub plans: BTreeMap<String, GoPlan>,
}Fields§
§models: Vec<Model>Token rates, shared across plans (pricing is the same for both).
plans: BTreeMap<String, GoPlan>Keyed by plan slug (“go”, “go-plus”); only the allowances differ.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Go
impl<'de> Deserialize<'de> for Go
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 Go
impl RefUnwindSafe for Go
impl Send for Go
impl Sync for Go
impl Unpin for Go
impl UnsafeUnpin for Go
impl UnwindSafe for Go
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