pub struct PoolMetadata {
pub capability: Option<String>,
pub integration_types: Vec<String>,
pub tags: BTreeMap<String, String>,
}Expand description
Optional metadata for categorizing and tagging pools. Enables capability-based queries and policies without hardcoding types in Role enum.
Fields§
§capability: Option<String>Capability identifier (e.g., “openclaw”, “mcp-server”, “database”). Used for grouping pools by functional capability.
integration_types: Vec<String>Integration types supported by this pool (e.g., [“telegram”, “discord”]).
Arbitrary key-value tags for custom categorization.
Trait Implementations§
Source§impl Clone for PoolMetadata
impl Clone for PoolMetadata
Source§fn clone(&self) -> PoolMetadata
fn clone(&self) -> PoolMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 PoolMetadata
impl Debug for PoolMetadata
Source§impl Default for PoolMetadata
impl Default for PoolMetadata
Source§fn default() -> PoolMetadata
fn default() -> PoolMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PoolMetadata
impl<'de> Deserialize<'de> for PoolMetadata
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
Auto Trait Implementations§
impl Freeze for PoolMetadata
impl RefUnwindSafe for PoolMetadata
impl Send for PoolMetadata
impl Sync for PoolMetadata
impl Unpin for PoolMetadata
impl UnsafeUnpin for PoolMetadata
impl UnwindSafe for PoolMetadata
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