pub struct CaptureSessionExport {
pub version: u8,
pub listen_addr: String,
pub upstream: String,
pub exported_at_ms: i64,
pub event_count: usize,
pub events: Vec<CapturedExchange>,
pub git_context: Option<GitContext>,
}Expand description
On-disk format for lobe capture session exports (also read by lobe explain).
Bumping version is a breaking change to the file format.
Fields§
§version: u8§listen_addr: String§upstream: String§exported_at_ms: i64§event_count: usize§events: Vec<CapturedExchange>§git_context: Option<GitContext>Optional git/CI context attached when the CLI is invoked from CI
with --pr / --repo / --branch / --commit. Enables the PR bot
to correlate uploads with the PR that produced them.
Trait Implementations§
Source§impl Clone for CaptureSessionExport
impl Clone for CaptureSessionExport
Source§fn clone(&self) -> CaptureSessionExport
fn clone(&self) -> CaptureSessionExport
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 CaptureSessionExport
impl Debug for CaptureSessionExport
Source§impl<'de> Deserialize<'de> for CaptureSessionExport
impl<'de> Deserialize<'de> for CaptureSessionExport
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 CaptureSessionExport
impl RefUnwindSafe for CaptureSessionExport
impl Send for CaptureSessionExport
impl Sync for CaptureSessionExport
impl Unpin for CaptureSessionExport
impl UnsafeUnpin for CaptureSessionExport
impl UnwindSafe for CaptureSessionExport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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