#[non_exhaustive]pub struct MemoryLockOutput {
pub locked: bool,
pub reason: String,
pub memory_id: String,
pub version: Option<Integer>,
pub lock_mode: String,
pub lock_until: Option<String>,
pub locked_by: String,
pub previous_mode: 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.locked: bool§reason: String§memory_id: String§version: Option<Integer>§lock_mode: String§lock_until: Option<String>§locked_by: String§previous_mode: StringTrait Implementations§
Source§impl Clone for MemoryLockOutput
impl Clone for MemoryLockOutput
Source§impl Debug for MemoryLockOutput
impl Debug for MemoryLockOutput
Source§impl<'de> Deserialize<'de> for MemoryLockOutput
impl<'de> Deserialize<'de> for MemoryLockOutput
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 MemoryLockOutput
impl PartialEq for MemoryLockOutput
Source§impl Serialize for MemoryLockOutput
impl Serialize for MemoryLockOutput
impl StructuralPartialEq for MemoryLockOutput
Auto Trait Implementations§
impl Forget for MemoryLockOutput
impl Freeze for MemoryLockOutput
impl Move for MemoryLockOutput
impl RefUnwindSafe for MemoryLockOutput
impl Send for MemoryLockOutput
impl Sync for MemoryLockOutput
impl Unpin for MemoryLockOutput
impl UnsafeUnpin for MemoryLockOutput
impl UnwindSafe for MemoryLockOutput
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