#[repr(C)]pub struct AicOtelConfig {
pub enable: bool,
pub session_id: *const c_char,
pub export_interval_ms: u32,
}Fields§
§enable: boolWhether to enable OpenTelemetry telemetry (overrides the AIC_SDK_OTEL_ENABLE environment variable).
session_id: *const c_charOptional session ID for telemetry. If NULL, a random session ID will be generated.
export_interval_ms: u32OTel metric export interval in milliseconds. 0 uses the default (60 000 ms).
Trait Implementations§
Source§impl Clone for AicOtelConfig
impl Clone for AicOtelConfig
Source§fn clone(&self) -> AicOtelConfig
fn clone(&self) -> AicOtelConfig
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 moreimpl Copy for AicOtelConfig
Auto Trait Implementations§
impl !Send for AicOtelConfig
impl !Sync for AicOtelConfig
impl Freeze for AicOtelConfig
impl RefUnwindSafe for AicOtelConfig
impl Unpin for AicOtelConfig
impl UnsafeUnpin for AicOtelConfig
impl UnwindSafe for AicOtelConfig
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