pub struct McpAuthorizeCallRequest {
pub server_id: String,
pub tool_name: String,
pub args_hash: Option<String>,
pub granted_scopes: Option<Vec<String>>,
pub pinned_schema_hash: Option<String>,
pub tool_schema: Option<HashMap<String, Value>>,
pub output_schema: Option<HashMap<String, Value>>,
pub oauth_resource: Option<String>,
pub receipt_id: Option<String>,
}Fields§
§server_id: String§tool_name: String§args_hash: Option<String>§granted_scopes: Option<Vec<String>>§pinned_schema_hash: Option<String>§tool_schema: Option<HashMap<String, Value>>§output_schema: Option<HashMap<String, Value>>§oauth_resource: Option<String>§receipt_id: Option<String>Implementations§
Source§impl McpAuthorizeCallRequest
impl McpAuthorizeCallRequest
pub fn new(server_id: String, tool_name: String) -> McpAuthorizeCallRequest
Trait Implementations§
Source§impl Clone for McpAuthorizeCallRequest
impl Clone for McpAuthorizeCallRequest
Source§fn clone(&self) -> McpAuthorizeCallRequest
fn clone(&self) -> McpAuthorizeCallRequest
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 McpAuthorizeCallRequest
impl Debug for McpAuthorizeCallRequest
Source§impl Default for McpAuthorizeCallRequest
impl Default for McpAuthorizeCallRequest
Source§fn default() -> McpAuthorizeCallRequest
fn default() -> McpAuthorizeCallRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpAuthorizeCallRequest
impl<'de> Deserialize<'de> for McpAuthorizeCallRequest
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
Source§impl PartialEq for McpAuthorizeCallRequest
impl PartialEq for McpAuthorizeCallRequest
Source§fn eq(&self, other: &McpAuthorizeCallRequest) -> bool
fn eq(&self, other: &McpAuthorizeCallRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpAuthorizeCallRequest
impl Serialize for McpAuthorizeCallRequest
impl StructuralPartialEq for McpAuthorizeCallRequest
Auto Trait Implementations§
impl Freeze for McpAuthorizeCallRequest
impl RefUnwindSafe for McpAuthorizeCallRequest
impl Send for McpAuthorizeCallRequest
impl Sync for McpAuthorizeCallRequest
impl Unpin for McpAuthorizeCallRequest
impl UnsafeUnpin for McpAuthorizeCallRequest
impl UnwindSafe for McpAuthorizeCallRequest
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