[][src]Struct actix_web_opentelemetry::UuidWildcardFormatter

pub struct UuidWildcardFormatter {}

UUID wildcard formatter replaces UUIDs with asterisks.

Methods

impl UuidWildcardFormatter[src]

pub fn new() -> Self[src]

Create a new UuidWildcardFormatter

Trait Implementations

impl RouteFormatter for UuidWildcardFormatter[src]

fn format(&self, uri: &str) -> String[src]

Function from path to route e.g. /users/4f5accfe-45d2-43b1-bf10-fdad708732a8 -> /users/*

impl Clone for UuidWildcardFormatter[src]

impl Default for UuidWildcardFormatter[src]

impl Debug for UuidWildcardFormatter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,