pub struct ProblemTelemetry {
pub problem_type: String,
pub code: String,
pub title: String,
pub detail: Option<String>,
pub error_class: Option<String>,
pub storage_backend: Option<String>,
pub storage_operation: Option<String>,
pub internal_detail: Option<String>,
pub retry_after_secs: Option<u32>,
}Expand description
Telemetry metadata copied from the final problem response.
Fields§
§problem_type: String§code: String§title: String§detail: Option<String>§error_class: Option<String>§storage_backend: Option<String>§storage_operation: Option<String>§internal_detail: Option<String>§retry_after_secs: Option<u32>Trait Implementations§
Source§impl Clone for ProblemTelemetry
impl Clone for ProblemTelemetry
Source§fn clone(&self) -> ProblemTelemetry
fn clone(&self) -> ProblemTelemetry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProblemTelemetry
impl Debug for ProblemTelemetry
Source§impl From<&ProblemDetails> for ProblemTelemetry
impl From<&ProblemDetails> for ProblemTelemetry
Source§fn from(problem: &ProblemDetails) -> Self
fn from(problem: &ProblemDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProblemTelemetry
impl RefUnwindSafe for ProblemTelemetry
impl Send for ProblemTelemetry
impl Sync for ProblemTelemetry
impl Unpin for ProblemTelemetry
impl UnsafeUnpin for ProblemTelemetry
impl UnwindSafe for ProblemTelemetry
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