Restricted access to several fields of SignedInUser
This commit is contained in:
parent
4996ae99d2
commit
ff5f294dae
|
@ -198,10 +198,10 @@ impl NotSignedInUser {
|
|||
///
|
||||
/// For more information about the user lifecycle and sign-in stages, see [`User`]
|
||||
pub struct SignedInUser<UserData: Serialize + DeserializeOwned> {
|
||||
pub (crate) username: String,
|
||||
pub (crate) active_certificate: Certificate,
|
||||
pub (crate) manager: UserManager,
|
||||
pub (crate) inner: PartialUser<UserData>,
|
||||
username: String,
|
||||
active_certificate: Certificate,
|
||||
manager: UserManager,
|
||||
inner: PartialUser<UserData>,
|
||||
/// Indicates that [`SignedInUser::as_mut()`] has been called, but [`SignedInUser::save()`] has not
|
||||
has_changed: bool,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue