pub struct DeliveryMetadata {
pub original_message: Option<Message>,
pub original_recipient_name: String,
pub campaign_title: String,
pub reminder_fired_at: Option<Timestamp>,
}Expand description
A single delivery record tracking message delivery to one recipient. Out-of-band context attached to a delivery beyond its canonical recipient + status + content payload. Optional; fields are populated per delivery kind. Currently only REMINDER_FYI children carry values, to snapshot context from the parent delivery so clients can render without fetching additional resources.
Fields§
§original_message: Option<Message>REMINDER_FYI: the rendered Message payload from the parent delivery, used to render the blockquoted “Original message” panel on the notify-target’s inbox card.
original_recipient_name: StringREMINDER_FYI: display name of the original recipient (the employee who hasn’t responded). Used to interpolate the FYI title and banner.
campaign_title: StringREMINDER_FYI: campaign title, denormalized so the notify-target’s client can render without a separate campaign lookup.
reminder_fired_at: Option<Timestamp>REMINDER_FYI: when the parent reminder step fired, used to render the “fired X ago” footer on the FYI card.
Trait Implementations§
Source§impl Clone for DeliveryMetadata
impl Clone for DeliveryMetadata
Source§fn clone(&self) -> DeliveryMetadata
fn clone(&self) -> DeliveryMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeliveryMetadata
impl Debug for DeliveryMetadata
Source§impl Default for DeliveryMetadata
impl Default for DeliveryMetadata
Source§impl Message for DeliveryMetadata
impl Message for DeliveryMetadata
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for DeliveryMetadata
impl PartialEq for DeliveryMetadata
impl StructuralPartialEq for DeliveryMetadata
Auto Trait Implementations§
impl Freeze for DeliveryMetadata
impl RefUnwindSafe for DeliveryMetadata
impl Send for DeliveryMetadata
impl Sync for DeliveryMetadata
impl Unpin for DeliveryMetadata
impl UnsafeUnpin for DeliveryMetadata
impl UnwindSafe for DeliveryMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request