pub struct ExtensionToolDeclaration {
pub name: String,
pub description: String,
pub parameters: Value,
pub permission_name: String,
pub output: ToolOutputDeclaration,
pub primary_resource_param: Option<String>,
}Fields§
§name: String§description: String§parameters: Value§permission_name: String§output: ToolOutputDeclaration§primary_resource_param: Option<String>Trait Implementations§
Source§impl Clone for ExtensionToolDeclaration
impl Clone for ExtensionToolDeclaration
Source§fn clone(&self) -> ExtensionToolDeclaration
fn clone(&self) -> ExtensionToolDeclaration
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 ExtensionToolDeclaration
impl Debug for ExtensionToolDeclaration
Source§impl<'de> Deserialize<'de> for ExtensionToolDeclaration
impl<'de> Deserialize<'de> for ExtensionToolDeclaration
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 JsonSchema for ExtensionToolDeclaration
impl JsonSchema for ExtensionToolDeclaration
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExtensionToolDeclaration
impl PartialEq for ExtensionToolDeclaration
Source§fn eq(&self, other: &ExtensionToolDeclaration) -> bool
fn eq(&self, other: &ExtensionToolDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtensionToolDeclaration
impl Serialize for ExtensionToolDeclaration
impl StructuralPartialEq for ExtensionToolDeclaration
Auto Trait Implementations§
impl Freeze for ExtensionToolDeclaration
impl RefUnwindSafe for ExtensionToolDeclaration
impl Send for ExtensionToolDeclaration
impl Sync for ExtensionToolDeclaration
impl Unpin for ExtensionToolDeclaration
impl UnsafeUnpin for ExtensionToolDeclaration
impl UnwindSafe for ExtensionToolDeclaration
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