pub struct SubWorkflowDetail {
pub description: String,
pub name: String,
pub source_code: Option<String>,
}Expand description
Sub-workflow detail included in the workflow response.
JSON schema
{
"description": "Sub-workflow detail included in the workflow response.",
"type": "object",
"required": [
"description",
"name"
],
"properties": {
"description": {
"description": "Human-readable description.",
"type": "string"
},
"name": {
"description": "Sub-workflow name.",
"type": "string"
},
"source_code": {
"description": "Optional Rust source code of the handler.",
"type": [
"string",
"null"
]
}
}
}
```ignore
</details>Fields§
§description: StringHuman-readable description.
name: StringSub-workflow name.
source_code: Option<String>Optional Rust source code of the handler.
Implementations§
Source§impl SubWorkflowDetail
impl SubWorkflowDetail
pub fn builder() -> SubWorkflowDetail
Trait Implementations§
Source§impl Clone for SubWorkflowDetail
impl Clone for SubWorkflowDetail
Source§impl Debug for SubWorkflowDetail
impl Debug for SubWorkflowDetail
Source§impl<'de> Deserialize<'de> for SubWorkflowDetail
impl<'de> Deserialize<'de> for SubWorkflowDetail
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<SubWorkflowDetail> for SubWorkflowDetail
impl From<SubWorkflowDetail> for SubWorkflowDetail
Source§fn from(value: SubWorkflowDetail) -> Self
fn from(value: SubWorkflowDetail) -> Self
Converts to this type from the input type.
Source§impl Serialize for SubWorkflowDetail
impl Serialize for SubWorkflowDetail
Source§impl TryFrom<SubWorkflowDetail> for SubWorkflowDetail
impl TryFrom<SubWorkflowDetail> for SubWorkflowDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SubWorkflowDetail) -> Result<Self, ConversionError>
fn try_from(value: SubWorkflowDetail) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubWorkflowDetail
impl RefUnwindSafe for SubWorkflowDetail
impl Send for SubWorkflowDetail
impl Sync for SubWorkflowDetail
impl Unpin for SubWorkflowDetail
impl UnsafeUnpin for SubWorkflowDetail
impl UnwindSafe for SubWorkflowDetail
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