pub enum ToolAuthorityCommand {
SetGrant {
grant: PolicyGrant,
},
RevokeGrant {
key: PolicyKey,
},
ResolveApproval {
resolution: ApprovalResolution,
},
CloseClient {
consumer_id: ConsumerId,
actor_id: ToolActorId,
},
}Variants§
SetGrant
Fields
§
grant: PolicyGrantRevokeGrant
ResolveApproval
Fields
§
resolution: ApprovalResolutionCloseClient
Trait Implementations§
Source§impl Clone for ToolAuthorityCommand
impl Clone for ToolAuthorityCommand
Source§impl Debug for ToolAuthorityCommand
impl Debug for ToolAuthorityCommand
Source§impl<'de> Deserialize<'de> for ToolAuthorityCommand
impl<'de> Deserialize<'de> for ToolAuthorityCommand
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
impl Eq for ToolAuthorityCommand
Source§impl PartialEq for ToolAuthorityCommand
impl PartialEq for ToolAuthorityCommand
Source§impl Serialize for ToolAuthorityCommand
impl Serialize for ToolAuthorityCommand
impl StructuralPartialEq for ToolAuthorityCommand
Auto Trait Implementations§
impl Freeze for ToolAuthorityCommand
impl RefUnwindSafe for ToolAuthorityCommand
impl Send for ToolAuthorityCommand
impl Sync for ToolAuthorityCommand
impl Unpin for ToolAuthorityCommand
impl UnsafeUnpin for ToolAuthorityCommand
impl UnwindSafe for ToolAuthorityCommand
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