pub enum RouteProduct {
Unproven,
Subscription {
label: String,
},
Metered,
}Expand description
Credential/pay-mode product truth captured at the client-freeze boundary.
Variants§
Unproven
No product fact was captured. Not a licence to guess.
Subscription
Subscription-backed with this user-facing quota label.
Metered
Bills per token.
Trait Implementations§
Source§impl Clone for RouteProduct
impl Clone for RouteProduct
Source§fn clone(&self) -> RouteProduct
fn clone(&self) -> RouteProduct
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouteProduct
impl Debug for RouteProduct
Source§impl<'de> Deserialize<'de> for RouteProduct
impl<'de> Deserialize<'de> for RouteProduct
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
impl Eq for RouteProduct
Source§impl PartialEq for RouteProduct
impl PartialEq for RouteProduct
Source§impl Serialize for RouteProduct
impl Serialize for RouteProduct
impl StructuralPartialEq for RouteProduct
Auto Trait Implementations§
impl Freeze for RouteProduct
impl RefUnwindSafe for RouteProduct
impl Send for RouteProduct
impl Sync for RouteProduct
impl Unpin for RouteProduct
impl UnsafeUnpin for RouteProduct
impl UnwindSafe for RouteProduct
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