pub struct BlockedInfo {
pub reason: String,
pub secs: u64,
pub answered: bool,
pub woken_again: bool,
pub unanswered: bool,
}Expand description
A block in the reply to who (01M41FZPGEK4TNPSM2051W4VMS).
Fields§
§reason: StringWhy the session cannot go on.
secs: u64The seconds since the session said it.
answered: boolTrue when a message woke the session after the block. The block ends at the next sign of work (01M41FZPT31ATXP75QW965P3JB).
woken_again: boolTrue when riff woke the lead a second time (01M41FZQ545HQ9Q75CSKX8HF8H).
unanswered: boolTrue when the lead gave no answer after the second wake (01M41FZQCHWY1YVGAZ60ZHJK21).
Trait Implementations§
Source§impl Clone for BlockedInfo
impl Clone for BlockedInfo
Source§fn clone(&self) -> BlockedInfo
fn clone(&self) -> BlockedInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockedInfo
impl Debug for BlockedInfo
Source§impl<'de> Deserialize<'de> for BlockedInfo
impl<'de> Deserialize<'de> for BlockedInfo
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 BlockedInfo
impl JsonSchema for BlockedInfo
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 moreSource§impl PartialEq for BlockedInfo
impl PartialEq for BlockedInfo
Source§impl Serialize for BlockedInfo
impl Serialize for BlockedInfo
impl Eq for BlockedInfo
impl StructuralPartialEq for BlockedInfo
Auto Trait Implementations§
impl Freeze for BlockedInfo
impl RefUnwindSafe for BlockedInfo
impl Send for BlockedInfo
impl Sync for BlockedInfo
impl Unpin for BlockedInfo
impl UnsafeUnpin for BlockedInfo
impl UnwindSafe for BlockedInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.