pub struct UnlockResult {
pub success: bool,
pub unlock_type: UnlockType,
pub message: String,
pub files_reset: Vec<String>,
}Expand description
Result of unlock validation
Fields§
§success: boolWhether the unlock was successful
unlock_type: UnlockTypeType of unlock performed
message: StringHuman-readable message
files_reset: Vec<String>List of state files that were reset
Trait Implementations§
Source§impl Clone for UnlockResult
impl Clone for UnlockResult
Source§fn clone(&self) -> UnlockResult
fn clone(&self) -> UnlockResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnlockResult
impl Debug for UnlockResult
Source§impl<'de> Deserialize<'de> for UnlockResult
impl<'de> Deserialize<'de> for UnlockResult
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 UnlockResult
impl RefUnwindSafe for UnlockResult
impl Send for UnlockResult
impl Sync for UnlockResult
impl Unpin for UnlockResult
impl UnsafeUnpin for UnlockResult
impl UnwindSafe for UnlockResult
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