pub struct HostSessionMode {
pub agent: AgentSelection,
pub mode: CreateSessionMode,
}Expand description
One creation mode a host serves, and how its new sessions start.
Fields§
§agent: AgentSelectionAgent and model a new session in this mode starts with.
mode: CreateSessionModeCreation mode.
Trait Implementations§
Source§impl Clone for HostSessionMode
impl Clone for HostSessionMode
Source§impl Debug for HostSessionMode
impl Debug for HostSessionMode
impl Eq for HostSessionMode
Source§impl PartialEq for HostSessionMode
impl PartialEq for HostSessionMode
impl StructuralPartialEq for HostSessionMode
Auto Trait Implementations§
impl Forget for HostSessionMode
impl Freeze for HostSessionMode
impl Move for HostSessionMode
impl RefUnwindSafe for HostSessionMode
impl Send for HostSessionMode
impl Sync for HostSessionMode
impl Unpin for HostSessionMode
impl UnsafeUnpin for HostSessionMode
impl UnwindSafe for HostSessionMode
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.