pub struct StreamableHttpTransport {
pub url: Option<String>,
pub headers: BTreeMap<String, String>,
pub timeout: Option<String>,
pub sse_read_timeout: Option<String>,
pub terminate_on_close: Option<bool>,
pub extra: ExtraFields,
}Fields§
§url: Option<String>§headers: BTreeMap<String, String>§timeout: Option<String>§sse_read_timeout: Option<String>§terminate_on_close: Option<bool>§extra: ExtraFieldsTrait Implementations§
Source§impl Clone for StreamableHttpTransport
impl Clone for StreamableHttpTransport
Source§fn clone(&self) -> StreamableHttpTransport
fn clone(&self) -> StreamableHttpTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamableHttpTransport
impl Debug for StreamableHttpTransport
Source§impl Default for StreamableHttpTransport
impl Default for StreamableHttpTransport
Source§fn default() -> StreamableHttpTransport
fn default() -> StreamableHttpTransport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamableHttpTransport
impl<'de> Deserialize<'de> for StreamableHttpTransport
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 PartialEq for StreamableHttpTransport
impl PartialEq for StreamableHttpTransport
Source§impl Serialize for StreamableHttpTransport
impl Serialize for StreamableHttpTransport
impl StructuralPartialEq for StreamableHttpTransport
Auto Trait Implementations§
impl Freeze for StreamableHttpTransport
impl RefUnwindSafe for StreamableHttpTransport
impl Send for StreamableHttpTransport
impl Sync for StreamableHttpTransport
impl Unpin for StreamableHttpTransport
impl UnsafeUnpin for StreamableHttpTransport
impl UnwindSafe for StreamableHttpTransport
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