pub struct ConfigSchema {
pub preferred_username: String,
pub email: String,
pub password: String,
pub ed25519: ConfigEd25519Schema,
}Expand description
Configuration structure, used in Vigor structures.
Can be used in serializing and deserializing configuration data, especially those residing inside Vigor structures.
This is not the main agent structure. See Vigor instead, your agent is in another castle.
Fields§
§preferred_username: StringUser’s name.
email: StringUser’s email.
password: StringPlain-text password, if empty password authentication will not be used.
ed25519: ConfigEd25519SchemaEd25519 authentication configuration structure.
Trait Implementations§
Source§impl Debug for ConfigSchema
impl Debug for ConfigSchema
Source§impl<'de> Deserialize<'de> for ConfigSchema
impl<'de> Deserialize<'de> for ConfigSchema
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 ConfigSchema
impl RefUnwindSafe for ConfigSchema
impl Send for ConfigSchema
impl Sync for ConfigSchema
impl Unpin for ConfigSchema
impl UnwindSafe for ConfigSchema
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