pub struct UserSubscription {
pub active: bool,
pub max_level_granted: i64,
pub period_ends_at: Option<DateTime<Utc>>,
pub kind: String,
}Fields§
§active: bool§max_level_granted: i64§period_ends_at: Option<DateTime<Utc>>§kind: StringTrait Implementations§
Source§impl Clone for UserSubscription
impl Clone for UserSubscription
Source§impl Debug for UserSubscription
impl Debug for UserSubscription
Source§impl<'de> Deserialize<'de> for UserSubscription
impl<'de> Deserialize<'de> for UserSubscription
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 UserSubscription
impl RefUnwindSafe for UserSubscription
impl Send for UserSubscription
impl Sync for UserSubscription
impl Unpin for UserSubscription
impl UnsafeUnpin for UserSubscription
impl UnwindSafe for UserSubscription
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