pub struct SubscriberConfig<T> {
pub country: Country,
pub env: Environment,
pub telemetry: Option<TelemetryConfig>,
pub service: String,
pub version: Option<String>,
pub json_formatter: T,
}Expand description
SubscriberConfig configuration built via SubscriberConfigBuilder
It contains
- Application env
- Telemetry config
- JSON formatter
Fields§
§country: Country§env: Environment§telemetry: Option<TelemetryConfig>§service: String§version: Option<String>§json_formatter: TAuto Trait Implementations§
impl<T> Freeze for SubscriberConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for SubscriberConfig<T>where
T: RefUnwindSafe,
impl<T> Send for SubscriberConfig<T>where
T: Send,
impl<T> Sync for SubscriberConfig<T>where
T: Sync,
impl<T> Unpin for SubscriberConfig<T>where
T: Unpin,
impl<T> UnwindSafe for SubscriberConfig<T>where
T: UnwindSafe,
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