pub struct Envelope {Show 16 fields
pub device_id: Uuid,
pub launch_id: Uuid,
pub account_id: Option<String>,
pub session_id: Uuid,
pub turn_id: Option<Uuid>,
pub ts: i64,
pub schema_version: u32,
pub app_version: String,
pub os: String,
pub arch: String,
pub locale: String,
pub provider: Option<String>,
pub provider_host: Option<String>,
pub model: Option<String>,
pub repo_origin: Option<RepoOrigin>,
pub mode: Option<SessionMode>,
}Fields§
§device_id: Uuid§launch_id: Uuid§account_id: Option<String>§session_id: Uuid§turn_id: Option<Uuid>§ts: i64§schema_version: u32§app_version: String§os: String§arch: String§locale: String§provider: Option<String>§provider_host: Option<String>Vendor host (e.g. api.openai.com). Derived from the configured
base_url host part — falls back to each vendor’s official host
when missing/unparseable. See resolve_provider_host.
model: Option<String>§repo_origin: Option<RepoOrigin>§mode: Option<SessionMode>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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