pub struct ToolDecl {
pub identity: Identity,
pub signature: Signature,
}Expand description
A Tool declaration, as the host binds it.
Fields§
§identity: IdentityWhere it lives and its name.
signature: SignatureIts signature.
Trait Implementations§
impl Eq for ToolDecl
impl StructuralPartialEq for ToolDecl
Auto Trait Implementations§
impl Forget for ToolDecl
impl Freeze for ToolDeclwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, Type)>: Freeze,
*const Type is !null: Freeze,
PhantomData<Type>: Freeze,
PhantomData<String>: Freeze,
impl Move for ToolDecl
impl RefUnwindSafe for ToolDecl
impl Send for ToolDecl
impl Sync for ToolDecl
impl Unpin for ToolDecl
impl UnsafeUnpin for ToolDeclwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, Type)>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ToolDecl
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