pub struct HttpMetricKey {
pub method: HttpMethod,
pub url: String,
}Expand description
HttpMetricKey Uniquely identifies an HTTP outcall by method + URL.
Fields§
§method: HttpMethod§url: StringTrait Implementations§
Source§impl CandidType for HttpMetricKey
impl CandidType for HttpMetricKey
Source§impl Clone for HttpMetricKey
impl Clone for HttpMetricKey
Source§fn clone(&self) -> HttpMetricKey
fn clone(&self) -> HttpMetricKey
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 HttpMetricKey
impl Debug for HttpMetricKey
Source§impl<'de> Deserialize<'de> for HttpMetricKey
impl<'de> Deserialize<'de> for HttpMetricKey
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 Hash for HttpMetricKey
impl Hash for HttpMetricKey
Source§impl PartialEq for HttpMetricKey
impl PartialEq for HttpMetricKey
Source§impl Serialize for HttpMetricKey
impl Serialize for HttpMetricKey
impl Eq for HttpMetricKey
impl StructuralPartialEq for HttpMetricKey
Auto Trait Implementations§
impl Freeze for HttpMetricKey
impl RefUnwindSafe for HttpMetricKey
impl Send for HttpMetricKey
impl Sync for HttpMetricKey
impl Unpin for HttpMetricKey
impl UnwindSafe for HttpMetricKey
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