pub struct Telemetry {
pub run_id: String,
pub agent_id: String,
pub agent_path: String,
pub trace_id: Option<String>,
pub log_level: String,
pub log_content: bool,
}Expand description
The correlation block stamped into the child’s logs (RFC 0010 §tree-correlation).
Fields§
§run_id: String§agent_id: String§agent_path: String§trace_id: Option<String>§log_level: String§log_content: boolContent-capture policy (RFC 0010 §2.9): when true the child logs tool
args/results, not just lengths. Inherited from the parent’s --log-content.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Telemetry
impl<'de> Deserialize<'de> for Telemetry
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 Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnsafeUnpin for Telemetry
impl UnwindSafe for Telemetry
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