fixed some issues with types having more fields than they should
This commit is contained in:
parent
9a87e497ce
commit
d4f5e6a640
@ -14,7 +14,5 @@ pub struct Click {
|
||||
#[serde(rename = "trackableId")]
|
||||
pub trackable_id: Uuid,
|
||||
#[serde(rename = "timeCreated")]
|
||||
pub time_created: DateTime<Utc>,
|
||||
#[serde(rename = "lastUpdated")]
|
||||
pub last_updated: DateTime<Utc>
|
||||
pub time_created: DateTime<Utc>
|
||||
}
|
@ -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<Utc>,
|
||||
|
@ -12,6 +12,9 @@ pub struct Realtor {
|
||||
pub email: Option<String>,
|
||||
#[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<i32>,
|
||||
#[serde(rename = "timeCreated")]
|
||||
|
@ -1,3 +1,3 @@
|
||||
use crate::traits::readable::Readable;
|
||||
//use crate::traits::readable::Readable;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user