pub struct RouteAttemptLog {Show 28 fields
pub attempt_index: u32,
pub provider_id: Option<String>,
pub endpoint_id: Option<String>,
pub provider_endpoint_key: Option<String>,
pub preference_group: Option<u32>,
pub route_path: Vec<String>,
pub provider_attempt: Option<u32>,
pub upstream_attempt: Option<u32>,
pub provider_max_attempts: Option<u32>,
pub upstream_max_attempts: Option<u32>,
pub station_name: Option<String>,
pub upstream_base_url: Option<String>,
pub upstream_index: Option<usize>,
pub avoid_for_station: Vec<usize>,
pub avoided_candidate_indices: Vec<usize>,
pub avoided_total: Option<usize>,
pub total_upstreams: Option<usize>,
pub decision: String,
pub reason: Option<String>,
pub status_code: Option<u16>,
pub error_class: Option<String>,
pub model: Option<String>,
pub upstream_headers_ms: Option<u64>,
pub duration_ms: Option<u64>,
pub cooldown_secs: Option<u64>,
pub cooldown_reason: Option<String>,
pub skipped: bool,
pub raw: String,
}Fields§
§attempt_index: u32§provider_id: Option<String>§endpoint_id: Option<String>§provider_endpoint_key: Option<String>§preference_group: Option<u32>§route_path: Vec<String>§provider_attempt: Option<u32>§upstream_attempt: Option<u32>§provider_max_attempts: Option<u32>§upstream_max_attempts: Option<u32>§station_name: Option<String>§upstream_base_url: Option<String>§upstream_index: Option<usize>§avoid_for_station: Vec<usize>§avoided_candidate_indices: Vec<usize>§avoided_total: Option<usize>§total_upstreams: Option<usize>§decision: String§reason: Option<String>§status_code: Option<u16>§error_class: Option<String>§model: Option<String>§upstream_headers_ms: Option<u64>§duration_ms: Option<u64>§cooldown_secs: Option<u64>§cooldown_reason: Option<String>§skipped: bool§raw: StringTrait Implementations§
Source§impl Clone for RouteAttemptLog
impl Clone for RouteAttemptLog
Source§fn clone(&self) -> RouteAttemptLog
fn clone(&self) -> RouteAttemptLog
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 moreSource§impl Debug for RouteAttemptLog
impl Debug for RouteAttemptLog
Source§impl Default for RouteAttemptLog
impl Default for RouteAttemptLog
Source§fn default() -> RouteAttemptLog
fn default() -> RouteAttemptLog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouteAttemptLog
impl<'de> Deserialize<'de> for RouteAttemptLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RouteAttemptLog
impl PartialEq for RouteAttemptLog
Source§fn eq(&self, other: &RouteAttemptLog) -> bool
fn eq(&self, other: &RouteAttemptLog) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RouteAttemptLog
impl Serialize for RouteAttemptLog
impl Eq for RouteAttemptLog
impl StructuralPartialEq for RouteAttemptLog
Auto Trait Implementations§
impl Freeze for RouteAttemptLog
impl RefUnwindSafe for RouteAttemptLog
impl Send for RouteAttemptLog
impl Sync for RouteAttemptLog
impl Unpin for RouteAttemptLog
impl UnsafeUnpin for RouteAttemptLog
impl UnwindSafe for RouteAttemptLog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.