pub enum PartOutcome {
Landed,
Rejected {
error: String,
stale: bool,
},
Unknown {
error: String,
},
}Expand description
What one request a write sent came to.
Variants§
Landed
The backend answered that it was applied.
Rejected
The backend answered that it was refused.
Fields
Unknown
The request left and no answer came back, so whether it was applied cannot be known. Never sent again: doing so could apply it twice.
Trait Implementations§
Source§impl Clone for PartOutcome
impl Clone for PartOutcome
Source§impl Debug for PartOutcome
impl Debug for PartOutcome
Source§impl<'de> Deserialize<'de> for PartOutcome
impl<'de> Deserialize<'de> for PartOutcome
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 PartOutcome
Source§impl JsonSchema for PartOutcome
impl JsonSchema for PartOutcome
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 PartOutcome
impl PartialEq for PartOutcome
Source§impl Serialize for PartOutcome
impl Serialize for PartOutcome
impl StructuralPartialEq for PartOutcome
Auto Trait Implementations§
impl Freeze for PartOutcome
impl RefUnwindSafe for PartOutcome
impl Send for PartOutcome
impl Sync for PartOutcome
impl Unpin for PartOutcome
impl UnsafeUnpin for PartOutcome
impl UnwindSafe for PartOutcome
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