pub struct ServiceDescriptor {
pub schema_version: String,
pub product: String,
pub instance_id: String,
pub api_base_url: String,
pub api_versions: Vec<String>,
pub credential_class: String,
pub mcp_url: Option<String>,
}Expand description
Side-effect-free origin-root descriptor used before credential selection.
Fields§
§schema_version: StringDescriptor schema version.
product: StringExact product identity.
instance_id: StringStable public deployment identity.
api_base_url: StringCanonical same-origin Control API base with a trailing slash.
api_versions: Vec<String>Supported API versions.
credential_class: StringCredential class accepted by the selected product.
mcp_url: Option<String>Canonical same-origin remote MCP URL when enabled.
Trait Implementations§
Source§impl Clone for ServiceDescriptor
impl Clone for ServiceDescriptor
Source§fn clone(&self) -> ServiceDescriptor
fn clone(&self) -> ServiceDescriptor
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 ComposeSchema for ServiceDescriptor
impl ComposeSchema for ServiceDescriptor
Source§impl Debug for ServiceDescriptor
impl Debug for ServiceDescriptor
Source§impl<'de> Deserialize<'de> for ServiceDescriptor
impl<'de> Deserialize<'de> for ServiceDescriptor
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
impl Eq for ServiceDescriptor
Source§impl PartialEq for ServiceDescriptor
impl PartialEq for ServiceDescriptor
Source§impl Serialize for ServiceDescriptor
impl Serialize for ServiceDescriptor
impl StructuralPartialEq for ServiceDescriptor
Auto Trait Implementations§
impl Freeze for ServiceDescriptor
impl RefUnwindSafe for ServiceDescriptor
impl Send for ServiceDescriptor
impl Sync for ServiceDescriptor
impl Unpin for ServiceDescriptor
impl UnsafeUnpin for ServiceDescriptor
impl UnwindSafe for ServiceDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.