#[non_exhaustive]pub struct MemoryUnlockOutput {
pub unlocked: bool,
pub reason: String,
pub memory_id: String,
pub version: Option<Integer>,
pub previous_mode: String,
pub unlocked_by: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.unlocked: bool§reason: String§memory_id: String§version: Option<Integer>§previous_mode: String§unlocked_by: StringTrait Implementations§
Source§impl Clone for MemoryUnlockOutput
impl Clone for MemoryUnlockOutput
Source§impl Debug for MemoryUnlockOutput
impl Debug for MemoryUnlockOutput
Source§impl<'de> Deserialize<'de> for MemoryUnlockOutput
impl<'de> Deserialize<'de> for MemoryUnlockOutput
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
Source§impl PartialEq for MemoryUnlockOutput
impl PartialEq for MemoryUnlockOutput
Source§impl Serialize for MemoryUnlockOutput
impl Serialize for MemoryUnlockOutput
impl StructuralPartialEq for MemoryUnlockOutput
Auto Trait Implementations§
impl Forget for MemoryUnlockOutput
impl Freeze for MemoryUnlockOutput
impl Move for MemoryUnlockOutput
impl RefUnwindSafe for MemoryUnlockOutput
impl Send for MemoryUnlockOutput
impl Sync for MemoryUnlockOutput
impl Unpin for MemoryUnlockOutput
impl UnsafeUnpin for MemoryUnlockOutput
impl UnwindSafe for MemoryUnlockOutput
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