pub struct HttpToolConfig {
pub base_url: Option<String>,
pub timeout_seconds: Option<u32>,
pub allowed_methods: Vec<String>,
}Expand description
HTTP tool configuration extracted from type-based spec
Fields§
§base_url: Option<String>§timeout_seconds: Option<u32>§allowed_methods: Vec<String>Trait Implementations§
Source§impl Clone for HttpToolConfig
impl Clone for HttpToolConfig
Source§fn clone(&self) -> HttpToolConfig
fn clone(&self) -> HttpToolConfig
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 HttpToolConfig
impl Debug for HttpToolConfig
Source§impl Default for HttpToolConfig
impl Default for HttpToolConfig
Source§fn default() -> HttpToolConfig
fn default() -> HttpToolConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HttpToolConfig
impl RefUnwindSafe for HttpToolConfig
impl Send for HttpToolConfig
impl Sync for HttpToolConfig
impl Unpin for HttpToolConfig
impl UnwindSafe for HttpToolConfig
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