pub struct Paywall {
pub id: Option<String>,
pub name: Option<String>,
pub type_: PaywallType,
pub price: u64,
pub settings: Option<HashMap<String, String>>,
pub created_at: Option<i64>,
pub updated_at: Option<i64>,
}Expand description
Paywall
Fields§
§id: Option<String>§name: Option<String>§type_: PaywallType§price: u64§settings: Option<HashMap<String, String>>§created_at: Option<i64>§updated_at: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Paywall
impl<'de> Deserialize<'de> for Paywall
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 Paywall
impl RefUnwindSafe for Paywall
impl Send for Paywall
impl Sync for Paywall
impl Unpin for Paywall
impl UnwindSafe for Paywall
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