diff --git a/src/domain/click.rs b/src/domain/click.rs index 099127b..7995e03 100644 --- a/src/domain/click.rs +++ b/src/domain/click.rs @@ -14,7 +14,5 @@ pub struct Click { #[serde(rename = "trackableId")] pub trackable_id: Uuid, #[serde(rename = "timeCreated")] - pub time_created: DateTime, - #[serde(rename = "lastUpdated")] - pub last_updated: DateTime + pub time_created: DateTime } \ No newline at end of file diff --git a/src/domain/project.rs b/src/domain/project.rs index c5faff4..f4113be 100644 --- a/src/domain/project.rs +++ b/src/domain/project.rs @@ -16,7 +16,7 @@ pub struct Project { /// This gives the realtor the option to order the projects/properties. On birth, #[serde(rename = "orderIndex")] - pub order_index: u16, + pub order_index: i32, #[serde(rename = "timeCreated")] pub time_created: DateTime, diff --git a/src/domain/realtor.rs b/src/domain/realtor.rs index 3b8e42f..a193810 100644 --- a/src/domain/realtor.rs +++ b/src/domain/realtor.rs @@ -12,6 +12,9 @@ pub struct Realtor { pub email: Option, #[serde(rename = "profilePictureUrl")] pub profile_picture_url: String, + #[serde(rename = "showProjects")] + pub show_projects: bool, + pub shortcode: String, #[serde(rename = "remaxAgentId")] pub remax_agent_id: Option, #[serde(rename = "timeCreated")] diff --git a/src/traits/impls/readable.rs b/src/traits/impls/readable.rs index 9cb2ad3..3262b00 100644 --- a/src/traits/impls/readable.rs +++ b/src/traits/impls/readable.rs @@ -1,3 +1,3 @@ -use crate::traits::readable::Readable; +//use crate::traits::readable::Readable;