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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.