forked from proxmox-mirrors/proxmox
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.
|
/// This contains the available key indices.
|
||||||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)]
|
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)]
|
||||||
pub struct RecoveryState(Vec<usize>);
|
pub struct RecoveryState(pub Vec<usize>);
|
||||||
|
|
||||||
impl RecoveryState {
|
impl RecoveryState {
|
||||||
pub fn is_available(&self) -> bool {
|
pub fn is_available(&self) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user