pub struct Message {Show 13 fields
pub id: String,
pub created_at: String,
pub updated_at: String,
pub provider_type: String,
pub topics: Vec<Value>,
pub users: Vec<Value>,
pub targets: Vec<Value>,
pub scheduled_at: Option<String>,
pub delivered_at: Option<String>,
pub delivery_errors: Option<Vec<Value>>,
pub delivered_total: usize,
pub data: HashMap<String, Value>,
pub status: String,
}Expand description
Message
Fields§
§id: StringMessage ID.
created_at: StringMessage creation time in ISO 8601 format.
updated_at: StringMessage update date in ISO 8601 format.
provider_type: StringMessage provider type.
topics: Vec<Value>Topic IDs set as recipients.
users: Vec<Value>User IDs set as recipients.
targets: Vec<Value>Target IDs set as recipients.
scheduled_at: Option<String>The scheduled time for message.
delivered_at: Option<String>The time when the message was delivered.
delivery_errors: Option<Vec<Value>>Delivery errors if any.
delivered_total: usizeNumber of recipients the message was delivered to.
data: HashMap<String, Value>Data of the message.
status: StringStatus of delivery.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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