pub struct CurrentUser {
pub project_id: String,
pub application_id: String,
pub user_id: String,
pub projection: UserProjection,
pub projection_revision: i64,
pub authenticated_at: String,
pub session_expires_at: String,
}Expand description
Current Project user and Application session view.
Fields§
§project_id: String§application_id: String§user_id: String§projection: UserProjection§projection_revision: i64§authenticated_at: String§session_expires_at: StringTrait Implementations§
Source§impl Clone for CurrentUser
impl Clone for CurrentUser
Source§impl Debug for CurrentUser
impl Debug for CurrentUser
Source§impl<'de> Deserialize<'de> for CurrentUser
impl<'de> Deserialize<'de> for CurrentUser
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
Source§impl PartialEq for CurrentUser
impl PartialEq for CurrentUser
impl StructuralPartialEq for CurrentUser
Auto Trait Implementations§
impl Freeze for CurrentUser
impl RefUnwindSafe for CurrentUser
impl Send for CurrentUser
impl Sync for CurrentUser
impl Unpin for CurrentUser
impl UnsafeUnpin for CurrentUser
impl UnwindSafe for CurrentUser
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