pub struct SignalResponse {
pub id: Uuid,
pub name: String,
pub key: String,
pub payload: Value,
pub idempotency_id: Option<String>,
pub received_at: DateTime<Utc>,
}Expand description
A stored signal.
Fields§
§id: UuidSignal ID.
name: StringSignal name.
key: StringOccurrence key.
payload: ValueJSON payload.
idempotency_id: Option<String>Deduplication ID given by the sender.
received_at: DateTime<Utc>When the signal was received.
Trait Implementations§
Source§impl Debug for SignalResponse
impl Debug for SignalResponse
Source§impl From<Signal> for SignalResponse
impl From<Signal> for SignalResponse
Auto Trait Implementations§
impl Freeze for SignalResponse
impl RefUnwindSafe for SignalResponse
impl Send for SignalResponse
impl Sync for SignalResponse
impl Unpin for SignalResponse
impl UnsafeUnpin for SignalResponse
impl UnwindSafe for SignalResponse
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