#[repr(u8)]pub enum LockType {
Deadbolt = 0,
Magnetic = 1,
Other = 2,
Mortise = 3,
Rim = 4,
Latchbolt = 5,
Cylindricallock = 6,
Tubularlock = 7,
Interconnectedlock = 8,
Deadlatch = 9,
Doorfurniture = 10,
Eurocylinder = 11,
}Variants§
Deadbolt = 0
Physical lock type is dead bolt
Magnetic = 1
Physical lock type is magnetic
Other = 2
Physical lock type is other
Mortise = 3
Physical lock type is mortise
Rim = 4
Physical lock type is rim
Latchbolt = 5
Physical lock type is latch bolt
Cylindricallock = 6
Physical lock type is cylindrical lock
Tubularlock = 7
Physical lock type is tubular lock
Interconnectedlock = 8
Physical lock type is interconnected lock
Deadlatch = 9
Physical lock type is dead latch
Doorfurniture = 10
Physical lock type is door furniture
Eurocylinder = 11
Physical lock type is euro cylinder
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockType
impl<'de> Deserialize<'de> for LockType
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
impl Copy for LockType
impl Eq for LockType
impl StructuralPartialEq for LockType
Auto Trait Implementations§
impl Freeze for LockType
impl RefUnwindSafe for LockType
impl Send for LockType
impl Sync for LockType
impl Unpin for LockType
impl UnwindSafe for LockType
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