pub struct UpgradeInfo {
pub tier: String,
pub wording: String,
pub compare_url: String,
pub buy_url: String,
}Expand description
Pricing-tier upgrade context returned in a 429 envelope when the caller’s
tier limits the operation. Mirrors the platform-side
feedback_429_no_upgrade_hint_is_conversion_gap.md contract.
Fields§
§tier: String§wording: String§compare_url: String§buy_url: StringTrait Implementations§
Source§impl Clone for UpgradeInfo
impl Clone for UpgradeInfo
Source§fn clone(&self) -> UpgradeInfo
fn clone(&self) -> UpgradeInfo
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 UpgradeInfo
impl Debug for UpgradeInfo
Source§impl Default for UpgradeInfo
impl Default for UpgradeInfo
Source§fn default() -> UpgradeInfo
fn default() -> UpgradeInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpgradeInfo
impl<'de> Deserialize<'de> for UpgradeInfo
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 UpgradeInfo
impl PartialEq for UpgradeInfo
Source§fn eq(&self, other: &UpgradeInfo) -> bool
fn eq(&self, other: &UpgradeInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpgradeInfo
impl Serialize for UpgradeInfo
impl StructuralPartialEq for UpgradeInfo
Auto Trait Implementations§
impl Freeze for UpgradeInfo
impl RefUnwindSafe for UpgradeInfo
impl Send for UpgradeInfo
impl Sync for UpgradeInfo
impl Unpin for UpgradeInfo
impl UnsafeUnpin for UpgradeInfo
impl UnwindSafe for UpgradeInfo
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