pub struct DeliveryResult {
pub channel_id: String,
pub success: bool,
pub error: Option<String>,
}Expand description
Notification delivery status for a single channel.
Fields§
§channel_id: StringChannel id from config.
success: boolWhether delivery succeeded.
error: Option<String>Optional failure reason.
Trait Implementations§
Source§impl Clone for DeliveryResult
impl Clone for DeliveryResult
Source§fn clone(&self) -> DeliveryResult
fn clone(&self) -> DeliveryResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeliveryResult
impl RefUnwindSafe for DeliveryResult
impl Send for DeliveryResult
impl Sync for DeliveryResult
impl Unpin for DeliveryResult
impl UnsafeUnpin for DeliveryResult
impl UnwindSafe for DeliveryResult
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