pub struct HttpInputConfig {
pub name: String,
}Expand description
Configuration for data input 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 data input 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: StringAutogenerated name.
Implementations§
Source§impl HttpInputConfig
impl HttpInputConfig
pub fn builder() -> HttpInputConfig
Trait Implementations§
Source§impl Clone for HttpInputConfig
impl Clone for HttpInputConfig
Source§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 Forget for HttpInputConfig
impl Freeze for HttpInputConfig
impl RefUnwindSafe for HttpInputConfig
impl Send for HttpInputConfig
impl Sync for HttpInputConfig
impl Unpin for HttpInputConfig
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more