pub struct User {
pub id: Option<String>,
pub email: Option<String>,
pub username: Option<String>,
pub ip_address: Option<String>,
}Expand description
The signed-in user an event is attributed to. All fields optional; the
backend derives a display identifier from id → email → username.
Fields§
§id: Option<String>§email: Option<String>§username: Option<String>§ip_address: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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