pub struct StreamableHttpConnector {
pub url: String,
pub headers: BTreeMap<String, String>,
pub bearer_env_var: Option<String>,
pub bearer_token: Option<String>,
pub connect_timeout: Option<Duration>,
pub request_timeout: Option<Duration>,
}Expand description
Prepared HTTP connector with resolved headers and timeouts.
Fields§
§url: String§headers: BTreeMap<String, String>§bearer_env_var: Option<String>§bearer_token: Option<String>§connect_timeout: Option<Duration>§request_timeout: Option<Duration>Trait Implementations§
Source§impl Clone for StreamableHttpConnector
impl Clone for StreamableHttpConnector
Source§fn clone(&self) -> StreamableHttpConnector
fn clone(&self) -> StreamableHttpConnector
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 StreamableHttpConnector
impl Debug for StreamableHttpConnector
Source§impl<'de> Deserialize<'de> for StreamableHttpConnector
impl<'de> Deserialize<'de> for StreamableHttpConnector
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<ResolvedStreamableHttpDefinition> for StreamableHttpConnector
impl From<ResolvedStreamableHttpDefinition> for StreamableHttpConnector
Source§fn from(definition: ResolvedStreamableHttpDefinition) -> Self
fn from(definition: ResolvedStreamableHttpDefinition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamableHttpConnector
impl PartialEq for StreamableHttpConnector
Source§impl Serialize for StreamableHttpConnector
impl Serialize for StreamableHttpConnector
impl Eq for StreamableHttpConnector
impl StructuralPartialEq for StreamableHttpConnector
Auto Trait Implementations§
impl Freeze for StreamableHttpConnector
impl RefUnwindSafe for StreamableHttpConnector
impl Send for StreamableHttpConnector
impl Sync for StreamableHttpConnector
impl Unpin for StreamableHttpConnector
impl UnsafeUnpin for StreamableHttpConnector
impl UnwindSafe for StreamableHttpConnector
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.