#[repr(u8)]pub enum SelectAreasStatus {
Success = 0,
Unsupportedarea = 1,
Invalidinmode = 2,
Invalidset = 3,
}Variants§
Success = 0
Attempting to operate in the areas identified by the entries of the NewAreas field is allowed and possible. The SelectedAreas attribute is set to the value of the NewAreas field.
Unsupportedarea = 1
The value of at least one of the entries of the NewAreas field doesn’t match any entries in the SupportedAreas attribute.
Invalidinmode = 2
The received request cannot be handled due to the current mode of the device.
Invalidset = 3
The set of values is invalid. For example, areas on different floors, that a robot knows it can’t reach on its own.
Implementations§
Trait Implementations§
Source§impl Clone for SelectAreasStatus
impl Clone for SelectAreasStatus
Source§fn clone(&self) -> SelectAreasStatus
fn clone(&self) -> SelectAreasStatus
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 SelectAreasStatus
impl Debug for SelectAreasStatus
Source§impl<'de> Deserialize<'de> for SelectAreasStatus
impl<'de> Deserialize<'de> for SelectAreasStatus
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<SelectAreasStatus> for u8
impl From<SelectAreasStatus> for u8
Source§fn from(val: SelectAreasStatus) -> Self
fn from(val: SelectAreasStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectAreasStatus
impl PartialEq for SelectAreasStatus
Source§impl Serialize for SelectAreasStatus
impl Serialize for SelectAreasStatus
impl Copy for SelectAreasStatus
impl Eq for SelectAreasStatus
impl StructuralPartialEq for SelectAreasStatus
Auto Trait Implementations§
impl Freeze for SelectAreasStatus
impl RefUnwindSafe for SelectAreasStatus
impl Send for SelectAreasStatus
impl Sync for SelectAreasStatus
impl Unpin for SelectAreasStatus
impl UnwindSafe for SelectAreasStatus
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