pub struct AttentionSummary { /* private fields */ }Expand description
What a host is told about the attention behind a delivery.
A summary rather than the projected event: the envelope crosses to a process the engine does not control, so it carries what identifies and explains the call, and nothing the engine reasoned with.
Implementations§
Source§impl AttentionSummary
impl AttentionSummary
pub const fn new( id: AttentionEventId, kind: AttentionKind, occurred_at: OffsetDateTime, reason: AttentionReason, ) -> Self
pub const fn id(&self) -> &AttentionEventId
pub const fn kind(&self) -> AttentionKind
pub const fn occurred_at(&self) -> OffsetDateTime
pub const fn reason(&self) -> &AttentionReason
Trait Implementations§
Source§impl Clone for AttentionSummary
impl Clone for AttentionSummary
Source§impl Debug for AttentionSummary
impl Debug for AttentionSummary
Source§impl<'de> Deserialize<'de> for AttentionSummary
impl<'de> Deserialize<'de> for AttentionSummary
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 Eq for AttentionSummary
Source§impl PartialEq for AttentionSummary
impl PartialEq for AttentionSummary
Source§impl Serialize for AttentionSummary
impl Serialize for AttentionSummary
impl StructuralPartialEq for AttentionSummary
Auto Trait Implementations§
impl Freeze for AttentionSummary
impl RefUnwindSafe for AttentionSummary
impl Send for AttentionSummary
impl Sync for AttentionSummary
impl Unpin for AttentionSummary
impl UnsafeUnpin for AttentionSummary
impl UnwindSafe for AttentionSummary
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