pub enum ConfigurationEdit {
Show 23 variants
EnrollNode {
request: String,
can_configure: bool,
invitation: Option<String>,
},
RemoveNode {
node_id: String,
},
DelegateNode {
node_id: String,
allow: bool,
},
HostNode {
node_id: String,
parent: String,
},
CreateGroup {
name: String,
},
DeleteGroup {
name: String,
},
GroupMembers {
group: String,
members: Vec<String>,
action: GroupAction,
},
GrantGroupAdmin {
grant_id: String,
administrator: String,
group: String,
members: Selector,
actions: Vec<GroupAction>,
lifetime_seconds: u64,
},
RevokeGroupAdmin {
grant_id: String,
},
AgentGroups {
administrator: String,
request_id: String,
changes: Vec<GroupChange>,
},
SetPermissionRule {
actor: Selector,
peer: Selector,
permission: Permission,
effect: Option<Effect>,
},
Policy {
policy: Policy,
},
Replace {
cluster_name: String,
node_name: String,
policy: Policy,
},
RenameNode {
name: String,
},
RenameMember {
node_id: String,
name: String,
},
SetReleaseChannel {
channel: ReleaseChannel,
},
Renew,
GrantRelay {
grant_id: String,
intermediary: String,
target: String,
lifetime_seconds: u64,
},
RevokeRelay {
grant_id: String,
},
GrantPermissionAdmin {
grant_id: String,
administrator: String,
actor: Selector,
peer: Selector,
permissions: Vec<Permission>,
selector_rules: bool,
lifetime_seconds: u64,
},
RevokePermissionAdmin {
grant_id: String,
},
AgentPermissions {
administrator: String,
request_id: String,
changes: Vec<PermissionChange>,
},
AgentPermissionRules {
administrator: String,
request_id: String,
changes: Vec<PermissionRuleChange>,
},
}Variants§
EnrollNode
RemoveNode
DelegateNode
HostNode
Administrator-approved chat transport delegation; does not grant configuration access.
CreateGroup
DeleteGroup
GroupMembers
GrantGroupAdmin
Fields
§
actions: Vec<GroupAction>RevokeGroupAdmin
AgentGroups
SetPermissionRule
Policy
Replace
RenameNode
RenameMember
Rename this enrolled member in signed configuration, independently of the proposer.
SetReleaseChannel
Fields
§
channel: ReleaseChannelRenew
GrantRelay
RevokeRelay
GrantPermissionAdmin
Fields
§
permissions: Vec<Permission>RevokePermissionAdmin
AgentPermissions
Internal authenticated proposal; MCP supplies neither administrator nor origin node. The owner rechecks both and every grant before accepting it.
AgentPermissionRules
Trait Implementations§
Source§impl Clone for ConfigurationEdit
impl Clone for ConfigurationEdit
Source§impl Debug for ConfigurationEdit
impl Debug for ConfigurationEdit
Source§impl<'de> Deserialize<'de> for ConfigurationEdit
impl<'de> Deserialize<'de> for ConfigurationEdit
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 Forget for ConfigurationEdit
impl Freeze for ConfigurationEdit
impl Move for ConfigurationEdit
impl RefUnwindSafe for ConfigurationEdit
impl Send for ConfigurationEdit
impl Sync for ConfigurationEdit
impl Unpin for ConfigurationEdit
impl UnsafeUnpin for ConfigurationEdit
impl UnwindSafe for ConfigurationEdit
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