pub struct SetupResult {
pub master_key: String,
pub storage_config: StorageConfig,
pub admin_key: Option<ApiKey>,
pub auth_manager: AuthenticationManager,
}
Expand description
Setup result containing initialized components
Fields§
§master_key: String
Generated or provided master key
storage_config: StorageConfig
Storage configuration used
admin_key: Option<ApiKey>
Admin API key (if created)
auth_manager: AuthenticationManager
Initialized authentication manager
Implementations§
Source§impl SetupResult
impl SetupResult
Sourcepub fn config_summary(&self) -> String
pub fn config_summary(&self) -> String
Generate a configuration summary
Sourcepub fn save_config(&self, path: &Path) -> Result<(), SetupError>
pub fn save_config(&self, path: &Path) -> Result<(), SetupError>
Save configuration to file
Auto Trait Implementations§
impl Freeze for SetupResult
impl !RefUnwindSafe for SetupResult
impl Send for SetupResult
impl Sync for SetupResult
impl Unpin for SetupResult
impl !UnwindSafe for SetupResult
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