pub struct AgentIdentityWritten {
pub did_path: PathBuf,
pub did: String,
pub privkey_configured: bool,
}Expand description
Result of writing the pod-git-root identity artefacts.
Fields§
§did_path: PathBufAbsolute path of the agent.did.json written.
did: StringThe did:nostr:<hex> identity string (I1 — unchanged).
privkey_configured: booltrue if git config nostr.privkey succeeded; false if it was
skipped (no privkey supplied) or the git binary was unavailable
(best-effort, mirroring crate::config::apply_write_config).
Trait Implementations§
Source§impl Clone for AgentIdentityWritten
impl Clone for AgentIdentityWritten
Source§fn clone(&self) -> AgentIdentityWritten
fn clone(&self) -> AgentIdentityWritten
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentIdentityWritten
impl Debug for AgentIdentityWritten
impl Eq for AgentIdentityWritten
Source§impl PartialEq for AgentIdentityWritten
impl PartialEq for AgentIdentityWritten
Source§fn eq(&self, other: &AgentIdentityWritten) -> bool
fn eq(&self, other: &AgentIdentityWritten) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentIdentityWritten
Auto Trait Implementations§
impl Freeze for AgentIdentityWritten
impl RefUnwindSafe for AgentIdentityWritten
impl Send for AgentIdentityWritten
impl Sync for AgentIdentityWritten
impl Unpin for AgentIdentityWritten
impl UnsafeUnpin for AgentIdentityWritten
impl UnwindSafe for AgentIdentityWritten
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