pub struct McpServerCustomHeaderInput {
pub name: String,
pub value: String,
}Expand description
An additional HTTP header sent with requests to the connected MCP server. Header values are stored securely.
Fields§
§name: StringThe HTTP header name.
value: StringThe HTTP header value.
Trait Implementations§
Source§impl Clone for McpServerCustomHeaderInput
impl Clone for McpServerCustomHeaderInput
Source§fn clone(&self) -> McpServerCustomHeaderInput
fn clone(&self) -> McpServerCustomHeaderInput
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 McpServerCustomHeaderInput
impl Debug for McpServerCustomHeaderInput
Source§impl Default for McpServerCustomHeaderInput
impl Default for McpServerCustomHeaderInput
Source§fn default() -> McpServerCustomHeaderInput
fn default() -> McpServerCustomHeaderInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpServerCustomHeaderInput
impl<'de> Deserialize<'de> for McpServerCustomHeaderInput
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
Auto Trait Implementations§
impl Freeze for McpServerCustomHeaderInput
impl RefUnwindSafe for McpServerCustomHeaderInput
impl Send for McpServerCustomHeaderInput
impl Sync for McpServerCustomHeaderInput
impl Unpin for McpServerCustomHeaderInput
impl UnsafeUnpin for McpServerCustomHeaderInput
impl UnwindSafe for McpServerCustomHeaderInput
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