pub struct HostedTarget {
pub nick: String,
pub provider: ProviderKind,
pub live: bool,
pub spawn_allowed: bool,
}Expand description
What the host knows about the session that owns nick.
Fields§
§nick: String§provider: ProviderKind§live: boolA process for this session is running now and can take a prompt.
spawn_allowed: boolThe host may start a new session for this nick when none is live.
Trait Implementations§
Source§impl Clone for HostedTarget
impl Clone for HostedTarget
Source§impl Debug for HostedTarget
impl Debug for HostedTarget
impl Eq for HostedTarget
Source§impl PartialEq for HostedTarget
impl PartialEq for HostedTarget
impl StructuralPartialEq for HostedTarget
Auto Trait Implementations§
impl Freeze for HostedTarget
impl RefUnwindSafe for HostedTarget
impl Send for HostedTarget
impl Sync for HostedTarget
impl Unpin for HostedTarget
impl UnsafeUnpin for HostedTarget
impl UnwindSafe for HostedTarget
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