pub struct DelegateNamespaceCommand {
pub ecosystem: String,
pub package_name: String,
pub delegate_did: String,
pub registry_url: String,
}Expand description
Command to delegate namespace authority to another identity.
Args:
ecosystem: Package ecosystem identifier.package_name: Package name within the ecosystem.delegate_did: DID of the identity receiving delegation.registry_url: Base URL of the registry server.
Usage:
ⓘ
let cmd = DelegateNamespaceCommand {
ecosystem: "npm".into(),
package_name: "my-package".into(),
delegate_did: "did:keri:Edelegate...".into(),
registry_url: "https://registry.example.com".into(),
};Fields§
§ecosystem: StringPackage ecosystem identifier.
package_name: StringPackage name within the ecosystem.
delegate_did: StringDID of the identity receiving delegation.
registry_url: StringBase URL of the registry server.
Auto Trait Implementations§
impl Freeze for DelegateNamespaceCommand
impl RefUnwindSafe for DelegateNamespaceCommand
impl Send for DelegateNamespaceCommand
impl Sync for DelegateNamespaceCommand
impl Unpin for DelegateNamespaceCommand
impl UnsafeUnpin for DelegateNamespaceCommand
impl UnwindSafe for DelegateNamespaceCommand
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