pub struct ApiLogObject {
pub request_id: Uuid,
pub api_version: String,
pub client: String,
pub http_method: HttpMethod,
pub http_status: i32,
pub request_origin: String,
pub request_path: String,
pub request_body: Map<String, Value>,
pub request_response: Option<Map<String, Value>>,
pub logged_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
}Expand description
Represents an API log entry in the Lago system.
This struct contains all information about an API request made to Lago’s API, including the request details, response information, and metadata.
Fields§
§request_id: Uuid§api_version: String§client: String§http_method: HttpMethod§http_status: i32§request_origin: String§request_path: String§request_body: Map<String, Value>§request_response: Option<Map<String, Value>>§logged_at: DateTime<Utc>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ApiLogObject
impl Clone for ApiLogObject
Source§fn clone(&self) -> ApiLogObject
fn clone(&self) -> ApiLogObject
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 ApiLogObject
impl Debug for ApiLogObject
Source§impl<'de> Deserialize<'de> for ApiLogObject
impl<'de> Deserialize<'de> for ApiLogObject
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
Auto Trait Implementations§
impl Freeze for ApiLogObject
impl RefUnwindSafe for ApiLogObject
impl Send for ApiLogObject
impl Sync for ApiLogObject
impl Unpin for ApiLogObject
impl UnwindSafe for ApiLogObject
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