pub struct RequestLogV1 { /* private fields */ }Expand description
Definition of the request.1 format.
Implementations§
Source§impl RequestLogV1
impl RequestLogV1
pub fn type_(&self) -> &str
pub fn time(&self) -> DateTime<Utc>
Sourcepub fn path(&self) -> &str
pub fn path(&self) -> &str
Path of request. If templated, the unrendered path, e.g.: /catalog/dataset/{datasetId}, /{rid}/paths/contents/{path:.*}.
Sourcepub fn path_params(&self) -> &BTreeMap<String, Any>
pub fn path_params(&self) -> &BTreeMap<String, Any>
Known-safe path parameters
Sourcepub fn query_params(&self) -> &BTreeMap<String, Any>
pub fn query_params(&self) -> &BTreeMap<String, Any>
Known-safe query parameters
Sourcepub fn header_params(&self) -> &BTreeMap<String, Any>
pub fn header_params(&self) -> &BTreeMap<String, Any>
Known-safe header parameters
Sourcepub fn body_params(&self) -> &BTreeMap<String, Any>
pub fn body_params(&self) -> &BTreeMap<String, Any>
Known-safe body parameters
Sourcepub fn request_size(&self) -> &str
pub fn request_size(&self) -> &str
Size of request (bytes). string to allow large numbers.
Sourcepub fn response_size(&self) -> &str
pub fn response_size(&self) -> &str
Size of response (bytes). string to allow large numbers.
Sourcepub fn org_id(&self) -> Option<&OrganizationId>
pub fn org_id(&self) -> Option<&OrganizationId>
Organization id (if available)
Sourcepub fn unsafe_params(&self) -> &BTreeMap<String, Any>
pub fn unsafe_params(&self) -> &BTreeMap<String, Any>
Unredacted parameters such as path, query and header parameters
Trait Implementations§
Source§impl Clone for RequestLogV1
impl Clone for RequestLogV1
Source§fn clone(&self) -> RequestLogV1
fn clone(&self) -> RequestLogV1
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 RequestLogV1
impl Debug for RequestLogV1
Source§impl<'de> Deserialize<'de> for RequestLogV1
impl<'de> Deserialize<'de> for RequestLogV1
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 From<RequestLogV1> for Builder<Complete>
impl From<RequestLogV1> for Builder<Complete>
Source§fn from(v: RequestLogV1) -> Self
fn from(v: RequestLogV1) -> Self
Converts to this type from the input type.
Source§impl Hash for RequestLogV1
impl Hash for RequestLogV1
Source§impl Ord for RequestLogV1
impl Ord for RequestLogV1
Source§fn cmp(&self, other: &RequestLogV1) -> Ordering
fn cmp(&self, other: &RequestLogV1) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestLogV1
impl PartialEq for RequestLogV1
Source§impl PartialOrd for RequestLogV1
impl PartialOrd for RequestLogV1
Source§impl Serialize for RequestLogV1
impl Serialize for RequestLogV1
impl Eq for RequestLogV1
impl StructuralPartialEq for RequestLogV1
Auto Trait Implementations§
impl Freeze for RequestLogV1
impl RefUnwindSafe for RequestLogV1
impl Send for RequestLogV1
impl Sync for RequestLogV1
impl Unpin for RequestLogV1
impl UnwindSafe for RequestLogV1
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