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