pub struct UserProfile {Show 26 fields
pub id: u64,
pub auth_id: String,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub plan: u8,
pub total_downloaded: u64,
pub customer: String,
pub is_subscribed: bool,
pub premium_expires_at: DateTime<FixedOffset>,
pub cooldown_until: DateTime<FixedOffset>,
pub email: String,
pub user_referral: String,
pub base_email: String,
pub server: Option<u64>,
pub total_bytes_downloaded: u64,
pub total_bytes_uploaded: u64,
pub torrents_downloaded: u64,
pub web_downloads_downloaded: u64,
pub usenet_downloads_downloaded: u64,
pub additional_concurrent_slots: u64,
pub long_term_seeding: bool,
pub long_term_storage: bool,
pub is_vendor: bool,
pub vendor_id: Option<String>,
pub purchases_referred: u64,
pub settings: Option<HashMap<String, Value>>,
}Fields§
§id: u64§auth_id: String§created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>§plan: u8§total_downloaded: u64§customer: String§is_subscribed: bool§cooldown_until: DateTime<FixedOffset>§email: String§user_referral: String§base_email: String§server: Option<u64>§total_bytes_downloaded: u64§total_bytes_uploaded: u64§torrents_downloaded: u64§web_downloads_downloaded: u64§usenet_downloads_downloaded: u64§additional_concurrent_slots: u64§long_term_seeding: bool§long_term_storage: bool§is_vendor: bool§vendor_id: Option<String>§purchases_referred: u64§settings: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Debug for UserProfile
impl Debug for UserProfile
Source§impl<'de> Deserialize<'de> for UserProfile
impl<'de> Deserialize<'de> for UserProfile
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 UserProfile
impl RefUnwindSafe for UserProfile
impl Send for UserProfile
impl Sync for UserProfile
impl Unpin for UserProfile
impl UnsafeUnpin for UserProfile
impl UnwindSafe for UserProfile
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