#[repr(u8)]pub enum CurrentPosition {
Fullyclosed = 0,
Fullyopened = 1,
Partiallyopened = 2,
Openedforpedestrian = 3,
Openedforventilation = 4,
Openedatsignature = 5,
}Variants§
Fullyclosed = 0
Fully closed state
Fullyopened = 1
Fully opened state
Partiallyopened = 2
Partially opened state (closure is not fully opened or fully closed)
Openedforpedestrian = 3
Closure is in the Pedestrian position
Openedforventilation = 4
Closure is in the Ventilation position
Openedatsignature = 5
Closure is in its “Signature position”
Implementations§
Trait Implementations§
Source§impl Clone for CurrentPosition
impl Clone for CurrentPosition
Source§fn clone(&self) -> CurrentPosition
fn clone(&self) -> CurrentPosition
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 CurrentPosition
impl Debug for CurrentPosition
Source§impl<'de> Deserialize<'de> for CurrentPosition
impl<'de> Deserialize<'de> for CurrentPosition
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 From<CurrentPosition> for u8
impl From<CurrentPosition> for u8
Source§fn from(val: CurrentPosition) -> Self
fn from(val: CurrentPosition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CurrentPosition
impl PartialEq for CurrentPosition
Source§impl Serialize for CurrentPosition
impl Serialize for CurrentPosition
impl Copy for CurrentPosition
impl Eq for CurrentPosition
impl StructuralPartialEq for CurrentPosition
Auto Trait Implementations§
impl Freeze for CurrentPosition
impl RefUnwindSafe for CurrentPosition
impl Send for CurrentPosition
impl Sync for CurrentPosition
impl Unpin for CurrentPosition
impl UnwindSafe for CurrentPosition
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