pub struct RejectedRunResponse {
pub error: String,
pub run_id: Uuid,
pub step_id: Uuid,
}Expand description
A waiting run whose payload schema the signal did not match.
JSON schema
{
"description": "A waiting run whose payload schema the signal did not match.",
"type": "object",
"required": [
"error",
"run_id",
"step_id"
],
"properties": {
"error": {
"description": "Why the payload was refused.",
"type": "string"
},
"run_id": {
"description": "Run that keeps waiting.",
"type": "string",
"format": "uuid"
},
"step_id": {
"description": "The signal step that keeps waiting.",
"type": "string",
"format": "uuid"
}
}
}
```ignore
</details>Fields§
§error: StringWhy the payload was refused.
run_id: UuidRun that keeps waiting.
step_id: UuidThe signal step that keeps waiting.
Implementations§
Source§impl RejectedRunResponse
impl RejectedRunResponse
pub fn builder() -> RejectedRunResponse
Trait Implementations§
Source§impl Clone for RejectedRunResponse
impl Clone for RejectedRunResponse
Source§impl Debug for RejectedRunResponse
impl Debug for RejectedRunResponse
Source§impl<'de> Deserialize<'de> for RejectedRunResponse
impl<'de> Deserialize<'de> for RejectedRunResponse
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 From<RejectedRunResponse> for RejectedRunResponse
impl From<RejectedRunResponse> for RejectedRunResponse
Source§fn from(value: RejectedRunResponse) -> Self
fn from(value: RejectedRunResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for RejectedRunResponse
impl Serialize for RejectedRunResponse
Source§impl TryFrom<RejectedRunResponse> for RejectedRunResponse
impl TryFrom<RejectedRunResponse> for RejectedRunResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RejectedRunResponse) -> Result<Self, ConversionError>
fn try_from(value: RejectedRunResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RejectedRunResponse
impl RefUnwindSafe for RejectedRunResponse
impl Send for RejectedRunResponse
impl Sync for RejectedRunResponse
impl Unpin for RejectedRunResponse
impl UnsafeUnpin for RejectedRunResponse
impl UnwindSafe for RejectedRunResponse
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