pub struct Handle {
pub plugin_id: Uuid,
pub version: String,
pub method: String,
pub meta: Vec<String>,
}Expand description
Handle pointing to external data with versioning
Display format: {plugin_id}@{version}::{method}:meta[0]:meta[1]:...
Examples:
550e8400-e29b-41d4-a716-446655440000@1.0.0::chat:msg-123:user:bob123e4567-e89b-12d3-a456-426614174000@1.0.0::execute:cmd-789
Fields§
§plugin_id: UuidStable plugin instance identifier (UUID)
version: StringPlugin version (semantic version: “MAJOR.MINOR.PATCH”) Used for schema/type lookup
method: StringCreation method that produced this handle (e.g., “chat”, “execute”)
meta: Vec<String>Metadata parts - variable length list of strings For messages: typically [message_uuid, role, optional_extra…]
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Handle
impl<'de> Deserialize<'de> for Handle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Handle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Handle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ClaudeCodeHandle> for Handle
impl From<ClaudeCodeHandle> for Handle
Source§fn from(h: ClaudeCodeHandle) -> Handle
fn from(h: ClaudeCodeHandle) -> Handle
Converts to this type from the input type.
Source§impl From<ConeHandle> for Handle
impl From<ConeHandle> for Handle
Source§fn from(h: ConeHandle) -> Handle
fn from(h: ConeHandle) -> Handle
Converts to this type from the input type.
Source§impl JsonSchema for Handle
impl JsonSchema for Handle
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 Serialize for Handle
impl Serialize for Handle
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&Handle> for ClaudeCodeHandle
impl TryFrom<&Handle> for ClaudeCodeHandle
Source§impl TryFrom<&Handle> for ConeHandle
impl TryFrom<&Handle> for ConeHandle
impl Eq for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnsafeUnpin for Handle
impl UnwindSafe for Handle
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,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.