pub enum ConfirmState {
Pending,
Yes,
No,
Expired,
Withdrawn,
Failed,
Unknown,
}Expand description
Where a question to the owner stands.
Variants§
Pending
Sent, or being stored for sending, and waiting for an answer.
Yes
The owner answered yes.
No
The owner answered no.
Expired
No answer came before the deadline, which counts as no.
Withdrawn
The asker stopped asking about it before an answer came.
Failed
The question could not be handed to the chat, or its answer was lost.
Unknown
A state this client does not know, from a newer daemon.
Trait Implementations§
Source§impl Clone for ConfirmState
impl Clone for ConfirmState
impl Copy for ConfirmState
Source§impl Debug for ConfirmState
impl Debug for ConfirmState
Source§impl<'de> Deserialize<'de> for ConfirmState
impl<'de> Deserialize<'de> for ConfirmState
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 ConfirmState
Source§impl PartialEq for ConfirmState
impl PartialEq for ConfirmState
Source§impl Serialize for ConfirmState
impl Serialize for ConfirmState
impl StructuralPartialEq for ConfirmState
Auto Trait Implementations§
impl Freeze for ConfirmState
impl RefUnwindSafe for ConfirmState
impl Send for ConfirmState
impl Sync for ConfirmState
impl Unpin for ConfirmState
impl UnsafeUnpin for ConfirmState
impl UnwindSafe for ConfirmState
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