pub struct UserInfo {Show 13 fields
pub id: String,
pub kind: String,
pub admin: bool,
pub email: String,
pub last_name: Option<String>,
pub last_seen: i64,
pub created_at: i64,
pub first_name: String,
pub email_valid: bool,
pub last_streamed_at: Option<i64>,
pub stripe_product_id: String,
pub stripe_customer_id: String,
pub stripe_customer_subscription_id: String,
}Fields§
§id: String§kind: String§admin: bool§email: String§last_name: Option<String>§last_seen: i64§created_at: i64§first_name: String§email_valid: bool§last_streamed_at: Option<i64>§stripe_product_id: String§stripe_customer_id: String§stripe_customer_subscription_id: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserInfo
impl<'de> Deserialize<'de> for UserInfo
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
impl StructuralPartialEq for UserInfo
Auto Trait Implementations§
impl Freeze for UserInfo
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnwindSafe for UserInfo
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