pub struct HttpClientComponentConfig { /* private fields */ }Expand description
A component made out of other components
Implementations§
Source§impl HttpClientComponentConfig
impl HttpClientComponentConfig
pub fn resource(&self) -> &BoundIdentifier
pub fn set_resource<T: Into<BoundIdentifier>>(&mut self, val: T) -> &mut Self
pub fn resource_mut(&mut self) -> &mut BoundIdentifier
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>
pub fn proxy(&self) -> Option<&Proxy>
pub fn set_proxy<T: Into<Option<Proxy>>>(&mut self, val: T) -> &mut Self
pub fn proxy_mut(&mut self) -> &mut Option<Proxy>
pub fn timeout(&self) -> Option<u16>
pub fn set_timeout<T: Into<Option<u16>>>(&mut self, val: T) -> &mut Self
pub fn timeout_mut(&mut self) -> &mut Option<u16>
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 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 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 TryFrom<HttpClientComponent> for HttpClientComponentConfig
impl TryFrom<HttpClientComponent> for HttpClientComponentConfig
Source§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
Source§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for HttpClientComponentConfig
Auto Trait Implementations§
impl Freeze for HttpClientComponentConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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