pub struct LocalSessionView {
pub name: String,
pub handle: Option<String>,
pub did: Option<String>,
pub cwd: Option<String>,
pub home_dir: PathBuf,
pub daemon_running: bool,
pub local_endpoints: Vec<LocalEndpointView>,
}Expand description
One row of wire session list-local output: a session that has a
Local-scope endpoint plus metadata to render it.
Fields§
§name: String§handle: Option<String>§did: Option<String>§cwd: Option<String>§home_dir: PathBuf§daemon_running: bool§local_endpoints: Vec<LocalEndpointView>All Local-scope endpoints this session advertises (token redacted). Most sessions have exactly one; multiple is permitted for multi- relay setups.
Trait Implementations§
Source§impl Clone for LocalSessionView
impl Clone for LocalSessionView
Source§fn clone(&self) -> LocalSessionView
fn clone(&self) -> LocalSessionView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalSessionView
impl Debug for LocalSessionView
Auto Trait Implementations§
impl Freeze for LocalSessionView
impl RefUnwindSafe for LocalSessionView
impl Send for LocalSessionView
impl Sync for LocalSessionView
impl Unpin for LocalSessionView
impl UnsafeUnpin for LocalSessionView
impl UnwindSafe for LocalSessionView
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