pub struct PatchPipeline {
pub description: Option<String>,
pub name: Option<String>,
pub program_code: Option<String>,
pub program_config: Option<ProgramConfig>,
pub runtime_config: Option<RuntimeConfig>,
pub udf_rust: Option<String>,
pub udf_toml: Option<String>,
}
Expand description
Partially update the pipeline (PATCH).
Note that the patching only applies to the main fields, not subfields. For instance, it is not possible to update only the number of workers; it is required to again pass the whole runtime configuration with the change.
JSON schema
{
"description": "Partially update the pipeline (PATCH).\n\nNote that the patching only applies to the main fields, not subfields.\nFor instance, it is not possible to update only the number of workers;\nit is required to again pass the whole runtime configuration with the\nchange.",
"type": "object",
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"program_code": {
"type": [
"string",
"null"
]
},
"program_config": {
"allOf": [
{
"$ref": "#/components/schemas/ProgramConfig"
}
]
},
"runtime_config": {
"allOf": [
{
"$ref": "#/components/schemas/RuntimeConfig"
}
]
},
"udf_rust": {
"type": [
"string",
"null"
]
},
"udf_toml": {
"type": [
"string",
"null"
]
}
}
}
Fields§
§description: Option<String>
§name: Option<String>
§program_code: Option<String>
§program_config: Option<ProgramConfig>
§runtime_config: Option<RuntimeConfig>
§udf_rust: Option<String>
§udf_toml: Option<String>
Implementations§
Source§impl PatchPipeline
impl PatchPipeline
pub fn builder() -> PatchPipeline
Trait Implementations§
Source§impl Clone for PatchPipeline
impl Clone for PatchPipeline
Source§fn clone(&self) -> PatchPipeline
fn clone(&self) -> PatchPipeline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PatchPipeline
impl Debug for PatchPipeline
Source§impl<'de> Deserialize<'de> for PatchPipeline
impl<'de> Deserialize<'de> for PatchPipeline
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<&PatchPipeline> for PatchPipeline
impl From<&PatchPipeline> for PatchPipeline
Source§fn from(value: &PatchPipeline) -> Self
fn from(value: &PatchPipeline) -> Self
Converts to this type from the input type.
Source§impl From<PatchPipeline> for PatchPipeline
impl From<PatchPipeline> for PatchPipeline
Source§fn from(value: PatchPipeline) -> Self
fn from(value: PatchPipeline) -> Self
Converts to this type from the input type.
Source§impl Serialize for PatchPipeline
impl Serialize for PatchPipeline
Source§impl TryFrom<PatchPipeline> for PatchPipeline
impl TryFrom<PatchPipeline> for PatchPipeline
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PatchPipeline) -> Result<Self, ConversionError>
fn try_from(value: PatchPipeline) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PatchPipeline
impl RefUnwindSafe for PatchPipeline
impl Send for PatchPipeline
impl Sync for PatchPipeline
impl Unpin for PatchPipeline
impl UnwindSafe for PatchPipeline
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