pub enum HandleAttributes {
Scope(ScopeAttributes),
Tool(ToolAttributes),
Llm(LlmAttributes),
}Expand description
Attribute bitflags attached to a concrete handle kind.
Variants§
Scope(ScopeAttributes)
Scope-specific attributes.
Tool(ToolAttributes)
Tool-specific attributes.
Llm(LlmAttributes)
LLM-specific attributes.
Trait Implementations§
Source§impl Clone for HandleAttributes
impl Clone for HandleAttributes
Source§fn clone(&self) -> HandleAttributes
fn clone(&self) -> HandleAttributes
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 moreimpl Copy for HandleAttributes
Source§impl Debug for HandleAttributes
impl Debug for HandleAttributes
Source§impl<'de> Deserialize<'de> for HandleAttributes
impl<'de> Deserialize<'de> for HandleAttributes
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HandleAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HandleAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HandleAttributes
Source§impl PartialEq for HandleAttributes
impl PartialEq for HandleAttributes
Source§fn eq(&self, other: &HandleAttributes) -> bool
fn eq(&self, other: &HandleAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HandleAttributes
impl Serialize for HandleAttributes
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
impl StructuralPartialEq for HandleAttributes
Auto Trait Implementations§
impl Freeze for HandleAttributes
impl RefUnwindSafe for HandleAttributes
impl Send for HandleAttributes
impl Sync for HandleAttributes
impl Unpin for HandleAttributes
impl UnsafeUnpin for HandleAttributes
impl UnwindSafe for HandleAttributes
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