pub struct StreamableHttpConfig {
pub port: u16,
pub host: String,
pub enable_cors: bool,
}Expand description
Configuration for Streamable HTTP transport
Fields§
§port: u16§host: String§enable_cors: boolTrait Implementations§
Source§impl Clone for StreamableHttpConfig
impl Clone for StreamableHttpConfig
Source§fn clone(&self) -> StreamableHttpConfig
fn clone(&self) -> StreamableHttpConfig
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 StreamableHttpConfig
impl Debug for StreamableHttpConfig
Auto Trait Implementations§
impl Freeze for StreamableHttpConfig
impl RefUnwindSafe for StreamableHttpConfig
impl Send for StreamableHttpConfig
impl Sync for StreamableHttpConfig
impl Unpin for StreamableHttpConfig
impl UnwindSafe for StreamableHttpConfig
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