pub struct ConfigEd25519Schema {
pub public: String,
pub private: String,
pub enabled: bool,
}Expand description
Configuration structure for Ed25519 authentication, used in ConfigSchema structures.
Can be used in serializing and deserializing configuration data, especially those residing inside ConfigSchema structures.
This is not the main agent structure. See Vigor instead, your agent is in another castle.
Fields§
§public: StringPath to the Ed25519 public key.
private: StringPath to the Ed25519 private key.
enabled: boolWhether Ed25519 authentication should be used.
Trait Implementations§
Source§impl Debug for ConfigEd25519Schema
impl Debug for ConfigEd25519Schema
Source§impl<'de> Deserialize<'de> for ConfigEd25519Schema
impl<'de> Deserialize<'de> for ConfigEd25519Schema
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 ConfigEd25519Schema
impl RefUnwindSafe for ConfigEd25519Schema
impl Send for ConfigEd25519Schema
impl Sync for ConfigEd25519Schema
impl Unpin for ConfigEd25519Schema
impl UnwindSafe for ConfigEd25519Schema
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