pub struct Delivery {
pub id: i64,
pub title: String,
pub message: String,
pub severity: Severity,
pub kind: String,
pub count: u64,
pub created_at: i64,
pub next_attempt_at: i64,
pub notification: Notification,
pub destinations: Vec<DestinationOutcome>,
}Fields§
§id: i64§title: String§message: String§severity: Severity§kind: String§count: u64§created_at: i64§next_attempt_at: i64§notification: Notification§destinations: Vec<DestinationOutcome>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Delivery
impl<'de> Deserialize<'de> for Delivery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Delivery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Delivery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Delivery
impl Serialize for Delivery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
impl UnwindSafe for Delivery
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