diff --git a/Cargo.toml b/Cargo.toml index 088e6dd..1f7db89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "posthog-rs" license = "MIT" -version = "0.1.2" +version = "0.1.3" authors = ["christos "] description = "An unofficial Rust client for Posthog (https://posthog.com/)." repository = "https://github.com/openquery-io/posthog-rs" diff --git a/src/lib.rs b/src/lib.rs index 10468e4..897d490 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -83,15 +83,15 @@ impl InnerEvent { pub struct Event { - event: String, - properties: Properties, - timestamp: Option, + pub event: String, + pub properties: Properties, + pub timestamp: Option, } #[derive(Serialize)] pub struct Properties { - distinct_id: String, - props: HashMap, + pub distinct_id: String, + pub props: HashMap, }