pub struct IdentityConfig {
pub key_alias: String,
pub repo_path: String,
pub preset: String,
pub metadata: HashMap<String, String>,
}Expand description
Identity section of the node configuration.
Fields§
§key_alias: StringKey alias for storing the generated private key.
repo_path: StringPath to the Git repository storing identity data.
preset: StringStorage layout preset (default, radicle, gitoxide).
metadata: HashMap<String, String>Optional metadata key-value pairs attached to the identity.
Trait Implementations§
Source§impl Debug for IdentityConfig
impl Debug for IdentityConfig
Source§impl<'de> Deserialize<'de> for IdentityConfig
impl<'de> Deserialize<'de> for IdentityConfig
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 Freeze for IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnsafeUnpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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