Changed types
Release Tagging / release (pull_request) Successful in 42s
swoosh Build / Check (pull_request) Successful in 41s
swoosh Build / Test Suite (pull_request) Failing after 42s
swoosh Build / Rustfmt (pull_request) Successful in 42s
swoosh Build / Clippy (pull_request) Failing after 1m21s
swoosh Build / build (pull_request) Successful in 1m25s
Release Tagging / release (pull_request) Successful in 42s
swoosh Build / Check (pull_request) Successful in 41s
swoosh Build / Test Suite (pull_request) Failing after 42s
swoosh Build / Rustfmt (pull_request) Successful in 42s
swoosh Build / Clippy (pull_request) Failing after 1m21s
swoosh Build / build (pull_request) Successful in 1m25s
This commit is contained in:
@@ -3,20 +3,28 @@ pub struct TwilioAPIMessage {
|
||||
pub account_sid: String,
|
||||
pub api_version: String,
|
||||
pub body: String,
|
||||
// pub date_created: time::OffsetDateTime,
|
||||
#[serde(with = "time::serde::rfc3339::option")]
|
||||
pub date_created: Option<time::OffsetDateTime>,
|
||||
#[serde(with = "time::serde::rfc3339::option")]
|
||||
pub date_sent: Option<time::OffsetDateTime>,
|
||||
#[serde(with = "time::serde::rfc3339::option")]
|
||||
pub date_updated: Option<time::OffsetDateTime>,
|
||||
pub direction: String,
|
||||
// Not definite of what type this is
|
||||
pub error_code: Option<String>,
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
pub error_code: String,
|
||||
// Not definite of what type this is
|
||||
pub error_message: Option<String>,
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
pub error_message: String,
|
||||
pub from: String,
|
||||
pub messaging_service_sid: String,
|
||||
pub num_media: String,
|
||||
pub num_segments: String,
|
||||
pub price: Option<String>,
|
||||
pub price_unit: Option<String>,
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
pub price: String,
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
pub price_unit: String,
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
pub sid: String,
|
||||
pub status: String,
|
||||
pub subresource_uris: SubresourceURI,
|
||||
|
||||
Reference in New Issue
Block a user