pub struct NotifyReceipt {
pub message_id: Option<String>,
pub accepted: bool,
}Expand description
渠道受理回执,不携带原始响应正文;未受理不等同于 trait 返回错误。
Fields§
§message_id: Option<String>业务适配器提供的可选消息标识,不应包含渠道凭据或响应正文。
accepted: booltrue 表示下游受理,false 在受管 dispatcher 中记为拒绝;均不证明最终用户收件。
Trait Implementations§
Source§impl Clone for NotifyReceipt
impl Clone for NotifyReceipt
Source§impl Debug for NotifyReceipt
impl Debug for NotifyReceipt
impl Eq for NotifyReceipt
Source§impl PartialEq for NotifyReceipt
impl PartialEq for NotifyReceipt
impl StructuralPartialEq for NotifyReceipt
Auto Trait Implementations§
impl Forget for NotifyReceipt
impl Freeze for NotifyReceipt
impl Move for NotifyReceipt
impl RefUnwindSafe for NotifyReceipt
impl Send for NotifyReceipt
impl Sync for NotifyReceipt
impl Unpin for NotifyReceipt
impl UnsafeUnpin for NotifyReceipt
impl UnwindSafe for NotifyReceipt
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