pub struct ProviderSession {
pub kind: SessionKind,
pub session_id: String,
pub nick: String,
pub cwd: Option<PathBuf>,
pub headless: bool,
}Expand description
One session a client wakes.
Fields§
§kind: SessionKindVendor + surface.
session_id: StringVendor-native session / thread / chat id. Never logged or committed.
nick: Stringmail4agent nick of this session (slug of the display name).
cwd: Option<PathBuf>Working directory the session was started in (local only).
headless: boolNo client holds the session open. Only then may a chain fall back to spawning a new process that resumes it.
Trait Implementations§
Source§impl Clone for ProviderSession
impl Clone for ProviderSession
Source§impl Debug for ProviderSession
impl Debug for ProviderSession
impl Eq for ProviderSession
Source§impl PartialEq for ProviderSession
impl PartialEq for ProviderSession
impl StructuralPartialEq for ProviderSession
Auto Trait Implementations§
impl Freeze for ProviderSession
impl RefUnwindSafe for ProviderSession
impl Send for ProviderSession
impl Sync for ProviderSession
impl Unpin for ProviderSession
impl UnsafeUnpin for ProviderSession
impl UnwindSafe for ProviderSession
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