pub struct ActivityLogObject {
pub activity_id: Uuid,
pub activity_type: String,
pub activity_source: ActivitySource,
pub logged_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub user_email: Option<String>,
pub resource_id: Option<Uuid>,
pub resource_type: Option<String>,
pub external_customer_id: Option<String>,
pub external_subscription_id: Option<String>,
pub activity_object: Option<Value>,
}Expand description
Represents an activity log entry in the Lago system.
This struct contains all information about an action performed on application resources, including the activity details and metadata.
Fields§
§activity_id: Uuid§activity_type: String§activity_source: ActivitySource§logged_at: DateTime<Utc>§created_at: DateTime<Utc>§user_email: Option<String>§resource_id: Option<Uuid>§resource_type: Option<String>§external_customer_id: Option<String>§external_subscription_id: Option<String>§activity_object: Option<Value>Trait Implementations§
Source§impl Clone for ActivityLogObject
impl Clone for ActivityLogObject
Source§fn clone(&self) -> ActivityLogObject
fn clone(&self) -> ActivityLogObject
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 ActivityLogObject
impl Debug for ActivityLogObject
Source§impl<'de> Deserialize<'de> for ActivityLogObject
impl<'de> Deserialize<'de> for ActivityLogObject
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 ActivityLogObject
impl RefUnwindSafe for ActivityLogObject
impl Send for ActivityLogObject
impl Sync for ActivityLogObject
impl Unpin for ActivityLogObject
impl UnwindSafe for ActivityLogObject
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