pub struct TempoConfig {
pub endpoint: String,
pub service_name: String,
pub service_namespace: String,
pub environment: String,
pub tracer_name: String,
}Fields§
§endpoint: String§service_name: String§service_namespace: String§environment: String§tracer_name: StringImplementations§
Source§impl TempoConfig
impl TempoConfig
pub fn new(service_name: impl Into<String>) -> Self
pub fn endpoint(self, endpoint: impl Into<String>) -> Self
pub fn service_namespace(self, namespace: impl Into<String>) -> Self
pub fn environment(self, environment: impl Into<String>) -> Self
pub fn tracer_name(self, tracer_name: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for TempoConfig
impl Clone for TempoConfig
Source§fn clone(&self) -> TempoConfig
fn clone(&self) -> TempoConfig
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 moreAuto Trait Implementations§
impl Freeze for TempoConfig
impl RefUnwindSafe for TempoConfig
impl Send for TempoConfig
impl Sync for TempoConfig
impl Unpin for TempoConfig
impl UnsafeUnpin for TempoConfig
impl UnwindSafe for TempoConfig
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