Struct wick_config::config::components::HttpClientComponentConfig
source · pub struct HttpClientComponentConfig { /* private fields */ }Expand description
A component made out of other components
Implementations§
source§impl HttpClientComponentConfig
impl HttpClientComponentConfig
pub fn resource(&self) -> &str
pub fn set_resource<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn resource_mut(&mut self) -> &mut String
pub fn config(&self) -> &[Field]
pub fn set_config<T: Into<Field>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn config_mut(&mut self) -> &mut Vec<Field>
pub fn codec(&self) -> Option<&Codec>
pub fn set_codec<T: Into<Option<Codec>>>(&mut self, val: T) -> &mut Self
pub fn codec_mut(&mut self) -> &mut Option<Codec>
Trait Implementations§
source§impl AssetManager for HttpClientComponentConfig
impl AssetManager for HttpClientComponentConfig
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for HttpClientComponentConfig
impl Clone for HttpClientComponentConfig
source§fn clone(&self) -> HttpClientComponentConfig
fn clone(&self) -> HttpClientComponentConfig
Returns a copy 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 ComponentConfig for HttpClientComponentConfig
impl ComponentConfig for HttpClientComponentConfig
type Operation = HttpClientOperationDefinition
source§fn operations(&self) -> &[Self::Operation]
fn operations(&self) -> &[Self::Operation]
Get the operations defined by this configuration.
source§fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
Get the operations defined by this configuration.
source§impl Debug for HttpClientComponentConfig
impl Debug for HttpClientComponentConfig
source§impl OperationSignatures for HttpClientComponentConfig
impl OperationSignatures for HttpClientComponentConfig
source§fn operation_signatures(&self) -> Vec<OperationSignature>
fn operation_signatures(&self) -> Vec<OperationSignature>
Get a list of operations hosted by the implementer.
source§fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
Get an operation signature by name.
source§impl PartialEq<HttpClientComponentConfig> for HttpClientComponentConfig
impl PartialEq<HttpClientComponentConfig> for HttpClientComponentConfig
source§fn eq(&self, other: &HttpClientComponentConfig) -> bool
fn eq(&self, other: &HttpClientComponentConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<HttpClientComponent> for HttpClientComponentConfig
impl TryFrom<HttpClientComponent> for HttpClientComponentConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<HttpClientComponentConfig> for HttpClientComponent
impl TryFrom<HttpClientComponentConfig> for HttpClientComponent
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for HttpClientComponentConfig
Auto Trait Implementations§
impl RefUnwindSafe for HttpClientComponentConfig
impl Send for HttpClientComponentConfig
impl Sync for HttpClientComponentConfig
impl Unpin for HttpClientComponentConfig
impl UnwindSafe for HttpClientComponentConfig
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