proxmox-longin: allow access to RecoveryState keys (make it pub)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2023-05-08 10:26:09 +02:00
parent a41c8481e2
commit b66ceaede0

View File

@ -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 {