pub struct SessionFacts {
pub session_id: Option<u32>,
pub visible_station: Option<bool>,
pub console_user: ConsoleUser,
pub current_user: Option<Account>,
}Expand description
What the process can tell about where it runs. Pure data so decide is testable.
Fields§
§session_id: Option<u32>§visible_station: Option<bool>Some(false) when the process window station is not visible (service or SSH shape).
console_user: ConsoleUser§current_user: Option<Account>Trait Implementations§
Source§impl Clone for SessionFacts
impl Clone for SessionFacts
Source§impl Debug for SessionFacts
impl Debug for SessionFacts
impl Eq for SessionFacts
Source§impl PartialEq for SessionFacts
impl PartialEq for SessionFacts
impl StructuralPartialEq for SessionFacts
Auto Trait Implementations§
impl Freeze for SessionFacts
impl RefUnwindSafe for SessionFacts
impl Send for SessionFacts
impl Sync for SessionFacts
impl Unpin for SessionFacts
impl UnsafeUnpin for SessionFacts
impl UnwindSafe for SessionFacts
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