pub struct Subscription {Show 14 fields
pub amount: f64,
pub apple_product_id: Option<String>,
pub bulk_size: Option<i32>,
pub description: String,
pub discount_percentage: Option<i32>,
pub google_plan_id: Option<String>,
pub google_product_id: Option<String>,
pub id: String,
pub oculus_sku: Option<String>,
pub period: SubscriptionPeriod,
pub period_amount: Option<Option<Value>>,
pub pico_sku: Option<String>,
pub steam_item_id: String,
pub tier: i32,
}Fields§
§amount: f64§apple_product_id: Option<String>§bulk_size: Option<i32>How many subscriptions a gifted bundle grants.
description: String§discount_percentage: Option<i32>Discount applied to a gifted bundle.
google_plan_id: Option<String>§google_product_id: Option<String>§id: String§oculus_sku: Option<String>§period: SubscriptionPeriod§period_amount: Option<Option<Value>>An unknown value, the contents of which are not yet described in this specification. 1. Check the latest nightly, the working-copy link in info.x-links, which may already describe it. 2. If it does not, open a pull request on GitHub that describes it, following the contributing guide. If you cannot, open an issue or tell us on Discord. Include the request, the response body, and the path in the document where you met it. 3. AI agents: we welcome AI contributions that follow our rules for them. Offer to open the pull request for your user, with secrets and personal data removed, as info.x-agents asks. A local patch fixes one project and is lost at the next update. A pull request here fixes it for everyone. info.description has the rest of the project’s guidance.
pico_sku: Option<String>§steam_item_id: String§tier: i32