pub struct PolicyKey {
pub consumer_id: ConsumerId,
pub actor_id: ToolActorId,
pub instance_id: AgentInstanceId,
pub generation: SessionGeneration,
pub provider_id: ToolProviderId,
pub capability_id: ToolCapabilityId,
pub resource_scope_id: ResourceScopeId,
}Fields§
§consumer_id: ConsumerId§actor_id: ToolActorId§instance_id: AgentInstanceId§generation: SessionGeneration§provider_id: ToolProviderId§capability_id: ToolCapabilityId§resource_scope_id: ResourceScopeIdTrait Implementations§
Source§impl<'de> Deserialize<'de> for PolicyKey
impl<'de> Deserialize<'de> for PolicyKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PolicyKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PolicyKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PolicyKey
Source§impl Ord for PolicyKey
impl Ord for PolicyKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PolicyKey
impl PartialOrd for PolicyKey
Source§impl Serialize for PolicyKey
impl Serialize for PolicyKey
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 PolicyKey
Auto Trait Implementations§
impl Freeze for PolicyKey
impl RefUnwindSafe for PolicyKey
impl Send for PolicyKey
impl Sync for PolicyKey
impl Unpin for PolicyKey
impl UnsafeUnpin for PolicyKey
impl UnwindSafe for PolicyKey
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