pub struct IdleSubscription {
pub message_id: String,
pub subscriber: MailAddress,
pub created_at_ms: u64,
pub seen_working: bool,
pub notice: bool,
pub final_reply: bool,
}Expand description
One sender’s wish to hear when a receiver next finishes a turn.
Fields§
§message_id: StringThe message the subscription was made with.
subscriber: MailAddressWho gets the notice.
created_at_ms: u64Epoch milliseconds at which the subscription was made.
seen_working: boolWhether the receiver has been seen working since; the notice fires when it is next seen idle.
notice: boolSend the subscriber the idle notice (it asked --notify-when-idle).
final_reply: boolSend the subscriber the receiver’s final message of that turn as its
reply: the message went in as reply-via=final-message.
Implementations§
Trait Implementations§
Source§impl Clone for IdleSubscription
impl Clone for IdleSubscription
Source§impl Debug for IdleSubscription
impl Debug for IdleSubscription
Source§impl<'de> Deserialize<'de> for IdleSubscription
impl<'de> Deserialize<'de> for IdleSubscription
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
impl Eq for IdleSubscription
Source§impl PartialEq for IdleSubscription
impl PartialEq for IdleSubscription
Source§impl Serialize for IdleSubscription
impl Serialize for IdleSubscription
impl StructuralPartialEq for IdleSubscription
Auto Trait Implementations§
impl Freeze for IdleSubscription
impl RefUnwindSafe for IdleSubscription
impl Send for IdleSubscription
impl Sync for IdleSubscription
impl Unpin for IdleSubscription
impl UnsafeUnpin for IdleSubscription
impl UnwindSafe for IdleSubscription
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.