pub struct PostPutPipeline {
pub description: Option<String>,
pub name: String,
pub program_code: String,
pub program_config: Option<ProgramConfig>,
pub runtime_config: Option<RuntimeConfig>,
pub udf_rust: Option<String>,
pub udf_toml: Option<String>,
}
Expand description
Create a new pipeline (POST), or fully update an existing pipeline (PUT).
Fields which are optional and not provided will be set to their empty type value
(for strings: an empty string ""
, for objects: an empty dictionary {}
).
JSON schema
{
"description": "Create a new pipeline (POST), or fully update an existing pipeline (PUT).\nFields which are optional and not provided will be set to their empty type value\n(for strings: an empty string `\"\"`, for objects: an empty dictionary `{}`).",
"type": "object",
"required": [
"name",
"program_code"
],
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"program_code": {
"type": "string"
},
"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: String
§program_code: String
§program_config: Option<ProgramConfig>
§runtime_config: Option<RuntimeConfig>
§udf_rust: Option<String>
§udf_toml: Option<String>
Implementations§
Source§impl PostPutPipeline
impl PostPutPipeline
pub fn builder() -> PostPutPipeline
Trait Implementations§
Source§impl Clone for PostPutPipeline
impl Clone for PostPutPipeline
Source§fn clone(&self) -> PostPutPipeline
fn clone(&self) -> PostPutPipeline
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 PostPutPipeline
impl Debug for PostPutPipeline
Source§impl<'de> Deserialize<'de> for PostPutPipeline
impl<'de> Deserialize<'de> for PostPutPipeline
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<&PostPutPipeline> for PostPutPipeline
impl From<&PostPutPipeline> for PostPutPipeline
Source§fn from(value: &PostPutPipeline) -> Self
fn from(value: &PostPutPipeline) -> Self
Converts to this type from the input type.
Source§impl From<PostPutPipeline> for PostPutPipeline
impl From<PostPutPipeline> for PostPutPipeline
Source§fn from(value: PostPutPipeline) -> Self
fn from(value: PostPutPipeline) -> Self
Converts to this type from the input type.
Source§impl Serialize for PostPutPipeline
impl Serialize for PostPutPipeline
Source§impl TryFrom<PostPutPipeline> for PostPutPipeline
impl TryFrom<PostPutPipeline> for PostPutPipeline
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PostPutPipeline) -> Result<Self, ConversionError>
fn try_from(value: PostPutPipeline) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostPutPipeline
impl RefUnwindSafe for PostPutPipeline
impl Send for PostPutPipeline
impl Sync for PostPutPipeline
impl Unpin for PostPutPipeline
impl UnwindSafe for PostPutPipeline
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