pub struct RemoteEndpoint {
pub url: String,
pub token_env: Option<String>,
pub project_key: Option<String>,
}Expand description
One remote MCP endpoint declaration.
The token itself is never written here — token_env names the
environment variable that carries it, because config.toml travels
through pack / backup paths where a literal credential must not.
Fields§
§url: StringEndpoint URL, e.g. http://ssot-host:8486/mcp.
token_env: Option<String>Env var name holding the bearer token. None falls back to the
daemon’s conventional name (e.g. OUTLINE_MCP_HTTP_TOKEN); an unset
or empty variable means “no token” (loopback daemons allow that).
project_key: Option<String>Project key sent instead of a local path (journal only, future).
Trait Implementations§
Source§impl Clone for RemoteEndpoint
impl Clone for RemoteEndpoint
Source§fn clone(&self) -> RemoteEndpoint
fn clone(&self) -> RemoteEndpoint
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 RemoteEndpoint
impl Debug for RemoteEndpoint
Source§impl Default for RemoteEndpoint
impl Default for RemoteEndpoint
Source§fn default() -> RemoteEndpoint
fn default() -> RemoteEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteEndpointwhere
RemoteEndpoint: Default,
impl<'de> Deserialize<'de> for RemoteEndpointwhere
RemoteEndpoint: Default,
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 RemoteEndpoint
impl RefUnwindSafe for RemoteEndpoint
impl Send for RemoteEndpoint
impl Sync for RemoteEndpoint
impl Unpin for RemoteEndpoint
impl UnsafeUnpin for RemoteEndpoint
impl UnwindSafe for RemoteEndpoint
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