mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-01 14:24:54 +00:00
proxmox-longin: allow access to RecoveryState keys (make it pub)
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
a41c8481e2
commit
b66ceaede0
@ -39,7 +39,7 @@ fn bool_is_false(b: &bool) -> bool {
|
||||
///
|
||||
/// This contains the available key indices.
|
||||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)]
|
||||
pub struct RecoveryState(Vec<usize>);
|
||||
pub struct RecoveryState(pub Vec<usize>);
|
||||
|
||||
impl RecoveryState {
|
||||
pub fn is_available(&self) -> bool {
|
||||
|
Loading…
Reference in New Issue
Block a user