stripe-rust 0.1.1

A rust wrapper for the Stripe HTTP API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use params::Timestamp;
use resources::Coupon;

#[derive(Deserialize)]
pub struct Discount {
    pub coupon: Coupon,
    pub customer: String,
    pub subscription: Option<String>,

    pub start: Timestamp,
    pub end: Option<Timestamp>,
}