pub struct ProducerInfo {
pub name: String,
pub version: Option<String>,
}Expand description
Identity of the software that produced a session: e.g.
{ name: "codex-tui", version: "0.118.0" }. Distinct from
ConversationView::provider_id (which is the high-level family —
"codex", "claude-code" — used for dispatch).
Fields§
§name: StringProducer name (e.g. "codex-tui", "claude-code", "gemini-cli").
version: Option<String>Producer version, when the source format records one.
Trait Implementations§
Source§impl Clone for ProducerInfo
impl Clone for ProducerInfo
Source§fn clone(&self) -> ProducerInfo
fn clone(&self) -> ProducerInfo
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 ProducerInfo
impl Debug for ProducerInfo
Source§impl Default for ProducerInfo
impl Default for ProducerInfo
Source§fn default() -> ProducerInfo
fn default() -> ProducerInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProducerInfo
impl<'de> Deserialize<'de> for ProducerInfo
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
Auto Trait Implementations§
impl Freeze for ProducerInfo
impl RefUnwindSafe for ProducerInfo
impl Send for ProducerInfo
impl Sync for ProducerInfo
impl Unpin for ProducerInfo
impl UnsafeUnpin for ProducerInfo
impl UnwindSafe for ProducerInfo
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