pub struct HttpInputConfig {
pub name: String,
}
Expand description
Configuration for reading data via HTTP.
HTTP input adapters cannot be usefully configured as part of pipeline
configuration. Instead, instantiate them through the REST API as
/pipelines/{pipeline_name}/ingress/{table_name}
.
JSON schema
{
"description": "Configuration for reading data via HTTP.\n\nHTTP input adapters cannot be usefully configured as part of pipeline\nconfiguration. Instead, instantiate them through the REST API as\n`/pipelines/{pipeline_name}/ingress/{table_name}`.",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Autogenerated name.",
"type": "string"
}
}
}
Fields§
§name: String
Autogenerated name.
Implementations§
Source§impl HttpInputConfig
impl HttpInputConfig
pub fn builder() -> HttpInputConfig
Trait Implementations§
Source§impl Clone for HttpInputConfig
impl Clone for HttpInputConfig
Source§fn clone(&self) -> HttpInputConfig
fn clone(&self) -> HttpInputConfig
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 HttpInputConfig
impl Debug for HttpInputConfig
Source§impl<'de> Deserialize<'de> for HttpInputConfig
impl<'de> Deserialize<'de> for HttpInputConfig
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<&HttpInputConfig> for HttpInputConfig
impl From<&HttpInputConfig> for HttpInputConfig
Source§fn from(value: &HttpInputConfig) -> Self
fn from(value: &HttpInputConfig) -> Self
Converts to this type from the input type.
Source§impl From<HttpInputConfig> for HttpInputConfig
impl From<HttpInputConfig> for HttpInputConfig
Source§fn from(value: HttpInputConfig) -> Self
fn from(value: HttpInputConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for HttpInputConfig
impl Serialize for HttpInputConfig
Source§impl TryFrom<HttpInputConfig> for HttpInputConfig
impl TryFrom<HttpInputConfig> for HttpInputConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: HttpInputConfig) -> Result<Self, ConversionError>
fn try_from(value: HttpInputConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for HttpInputConfig
impl RefUnwindSafe for HttpInputConfig
impl Send for HttpInputConfig
impl Sync for HttpInputConfig
impl Unpin for HttpInputConfig
impl UnwindSafe for HttpInputConfig
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