pub struct PendingMessage {
pub id: u64,
pub channel_id: u64,
pub sender: String,
pub content: String,
pub target: TemporalTarget,
pub created_at: u64,
pub attempts: u32,
pub max_attempts: u32,
pub status: PendingStatus,
}Expand description
A pending temporal message.
Fields§
§id: u64§channel_id: u64§sender: String§content: String§target: TemporalTarget§created_at: u64§attempts: u32§max_attempts: u32§status: PendingStatusTrait Implementations§
Source§impl Clone for PendingMessage
impl Clone for PendingMessage
Source§fn clone(&self) -> PendingMessage
fn clone(&self) -> PendingMessage
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 moreAuto Trait Implementations§
impl Freeze for PendingMessage
impl RefUnwindSafe for PendingMessage
impl Send for PendingMessage
impl Sync for PendingMessage
impl Unpin for PendingMessage
impl UnsafeUnpin for PendingMessage
impl UnwindSafe for PendingMessage
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