pub struct NotificationAckStatus {
pub id: String,
pub acks: Vec<NotificationAckEntry>,
}Expand description
Response of GET /api/notifications/{id}/ack_status — every
(pc_id, user_sid, acked_at) tuple recorded for the notification,
powering the SPA’s “who confirmed when” view.
Fields§
§id: String§acks: Vec<NotificationAckEntry>Trait Implementations§
Source§impl Clone for NotificationAckStatus
impl Clone for NotificationAckStatus
Source§fn clone(&self) -> NotificationAckStatus
fn clone(&self) -> NotificationAckStatus
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 NotificationAckStatus
impl Debug for NotificationAckStatus
Source§impl<'de> Deserialize<'de> for NotificationAckStatus
impl<'de> Deserialize<'de> for NotificationAckStatus
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 NotificationAckStatus
impl JsonSchema for NotificationAckStatus
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 NotificationAckStatus
impl RefUnwindSafe for NotificationAckStatus
impl Send for NotificationAckStatus
impl Sync for NotificationAckStatus
impl Unpin for NotificationAckStatus
impl UnsafeUnpin for NotificationAckStatus
impl UnwindSafe for NotificationAckStatus
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