pub struct NotificationDetail {
pub notification: Notification,
pub acks: Vec<NotificationAckEntry>,
}Expand description
Response of GET /api/notifications/{id} — one sent notification’s
full content (so the SPA can show “what was sent”, including the
body the history table truncates away) paired with its
per-recipient confirmation list. Powers the deep-linkable
/notifications/{id} detail page, which an operator opens in a new
tab from the history list (Ctrl/⌘ click), mirroring the Activity →
result-detail deep link.
acks is the same set ack_status returns; bundling it here saves
the detail page a second round-trip.
Fields§
§notification: Notification§acks: Vec<NotificationAckEntry>Trait Implementations§
Source§impl Clone for NotificationDetail
impl Clone for NotificationDetail
Source§fn clone(&self) -> NotificationDetail
fn clone(&self) -> NotificationDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationDetail
impl Debug for NotificationDetail
Source§impl<'de> Deserialize<'de> for NotificationDetail
impl<'de> Deserialize<'de> for NotificationDetail
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
Source§impl JsonSchema for NotificationDetail
impl JsonSchema for NotificationDetail
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for NotificationDetail
impl RefUnwindSafe for NotificationDetail
impl Send for NotificationDetail
impl Sync for NotificationDetail
impl Unpin for NotificationDetail
impl UnsafeUnpin for NotificationDetail
impl UnwindSafe for NotificationDetail
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