pub struct PrimaryAgentChanged {
pub session_id: String,
pub display_name: Option<String>,
}Expand description
Ephemeral active primary-agent display state for one live session.
Fields§
§session_id: StringSession owning the active-agent state.
display_name: Option<String>Sanitized active-agent label, or None to use the configured fallback.
Trait Implementations§
Source§impl Clone for PrimaryAgentChanged
impl Clone for PrimaryAgentChanged
Source§impl Debug for PrimaryAgentChanged
impl Debug for PrimaryAgentChanged
Source§impl<'de> Deserialize<'de> for PrimaryAgentChanged
impl<'de> Deserialize<'de> for PrimaryAgentChanged
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrimaryAgentChanged
Source§impl PartialEq for PrimaryAgentChanged
impl PartialEq for PrimaryAgentChanged
Source§impl Serialize for PrimaryAgentChanged
impl Serialize for PrimaryAgentChanged
impl StructuralPartialEq for PrimaryAgentChanged
Auto Trait Implementations§
impl Forget for PrimaryAgentChanged
impl Freeze for PrimaryAgentChanged
impl RefUnwindSafe for PrimaryAgentChanged
impl Send for PrimaryAgentChanged
impl Sync for PrimaryAgentChanged
impl Unpin for PrimaryAgentChanged
impl UnsafeUnpin for PrimaryAgentChanged
impl UnwindSafe for PrimaryAgentChanged
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.