pub enum CancelAnswer {
Stopped,
Unconfirmed,
NotObserved,
}Variants§
Stopped
The backend confirmed that its work and charges stopped.
Unconfirmed
The backend answered without confirming a remote stop.
NotObserved
The runtime stopped waiting before any answer.
Trait Implementations§
Source§impl Clone for CancelAnswer
impl Clone for CancelAnswer
impl Copy for CancelAnswer
Source§impl Debug for CancelAnswer
impl Debug for CancelAnswer
Source§impl<'de> Deserialize<'de> for CancelAnswer
impl<'de> Deserialize<'de> for CancelAnswer
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 CancelAnswer
Source§impl JsonSchema for CancelAnswer
impl JsonSchema for CancelAnswer
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 CancelAnswer
impl PartialEq for CancelAnswer
Source§impl Serialize for CancelAnswer
impl Serialize for CancelAnswer
impl StructuralPartialEq for CancelAnswer
Auto Trait Implementations§
impl Freeze for CancelAnswer
impl RefUnwindSafe for CancelAnswer
impl Send for CancelAnswer
impl Sync for CancelAnswer
impl Unpin for CancelAnswer
impl UnsafeUnpin for CancelAnswer
impl UnwindSafe for CancelAnswer
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