Struct HostIdentity
pub struct HostIdentity {
pub package_id: Option<String>,
pub development_app_id: Option<String>,
pub app_name: Option<String>,
pub workspace_id: Option<String>,
pub user_id: Option<String>,
pub presence_handle: Option<String>,
pub account_name: Option<String>,
pub continuity_resume: Option<ContinuationMetadata>,
pub continuity_instance: Option<String>,
pub collab_service_configured: bool,
pub managed_agent_context: bool,
}Expand description
Who this process is and which workspace it serves.
Every field is optional: a process started outside a launcher has none, and each reader applies its own documented fallback.
Fields§
§package_id: Option<String>The installed package this process runs as.
development_app_id: Option<String>A development-time application id, used when no package id is set.
app_name: Option<String>The human-readable application name.
workspace_id: Option<String>The workspace this process collaborates in.
user_id: Option<String>The signed-in person’s id, when the launcher bound one.
presence_handle: Option<String>The presence handle to announce, overriding the user id.
account_name: Option<String>The operating-system account name.
continuity_resume: Option<ContinuationMetadata>The resume projection this window was relaunched with.
continuity_instance: Option<String>The launcher-issued instance identity of this window.
collab_service_configured: boolThe launcher configured a collaboration service for this process, so its absence is a failure rather than a standalone launch.
managed_agent_context: boolThe process runs as an admitted managed agent, which receives task work on its own broker queue instead of the room’s task-run stream.
Trait Implementations§
§impl Clone for HostIdentity
impl Clone for HostIdentity
§fn clone(&self) -> HostIdentity
fn clone(&self) -> HostIdentity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for HostIdentity
impl Debug for HostIdentity
§impl Default for HostIdentity
impl Default for HostIdentity
§fn default() -> HostIdentity
fn default() -> HostIdentity
§impl PartialEq for HostIdentity
impl PartialEq for HostIdentity
impl Eq for HostIdentity
impl StructuralPartialEq for HostIdentity
Auto Trait Implementations§
impl Freeze for HostIdentity
impl RefUnwindSafe for HostIdentity
impl Send for HostIdentity
impl Sync for HostIdentity
impl Unpin for HostIdentity
impl UnsafeUnpin for HostIdentity
impl UnwindSafe for HostIdentity
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more