Struct usiem::events::auth::UpgradeLogin
source · pub struct UpgradeLogin {
pub source_user: Cow<'static, str>,
pub destination_user: Cow<'static, str>,
pub destination_domain: Cow<'static, str>,
}
Expand description
A user changes into another account, like a “su” command in linux
Fields
source_user: Cow<'static, str>
Original user name
destination_user: Cow<'static, str>
User to be logged as
destination_domain: Cow<'static, str>
Domain of the user to be logged as
Implementations
Trait Implementations
sourceimpl Clone for UpgradeLogin
impl Clone for UpgradeLogin
sourcefn clone(&self) -> UpgradeLogin
fn clone(&self) -> UpgradeLogin
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpgradeLogin
impl Debug for UpgradeLogin
sourceimpl PartialEq<UpgradeLogin> for UpgradeLogin
impl PartialEq<UpgradeLogin> for UpgradeLogin
sourcefn eq(&self, other: &UpgradeLogin) -> bool
fn eq(&self, other: &UpgradeLogin) -> bool
sourceimpl Serialize for UpgradeLogin
impl Serialize for UpgradeLogin
impl StructuralPartialEq for UpgradeLogin
Auto Trait Implementations
impl RefUnwindSafe for UpgradeLogin
impl Send for UpgradeLogin
impl Sync for UpgradeLogin
impl Unpin for UpgradeLogin
impl UnwindSafe for UpgradeLogin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more