pub struct QHmiPermission {
pub man_start: bool,
pub man_stop: bool,
pub mode_auto: bool,
pub mode_man: bool,
pub mode_local: bool,
pub mode_oos: bool,
pub mv_hmi_en: bool,
pub mv_plc_en: bool,
pub mv_hmi_plc_en: bool,
pub mv_hmi: bool,
}Expand description
Разрешения для работы с hmi
Fields§
§man_start: boolРазрешение включения в ручном режиме
man_stop: boolРазрешение отключения в ручном режиме
mode_auto: boolРазрешение переключения в режим auto
mode_man: boolРазрешение переключения в режим manual
mode_local: boolРазрешение переключения в режим local
mode_oos: boolРазрешение переключения в режим oos
mv_hmi_en: boolАктивировать задание из hmi
mv_plc_en: boolАктивировать задание из plc
mv_hmi_plc_en: boolАктивация любого задания: sp_hmi_en && sp_plc_en
mv_hmi: boolИзменение значения sp
Trait Implementations§
Source§impl Clone for QHmiPermission
impl Clone for QHmiPermission
Source§fn clone(&self) -> QHmiPermission
fn clone(&self) -> QHmiPermission
Returns a copy 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 QHmiPermission
impl Debug for QHmiPermission
Source§impl Default for QHmiPermission
impl Default for QHmiPermission
Source§fn default() -> QHmiPermission
fn default() -> QHmiPermission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QHmiPermission
impl<'de> Deserialize<'de> for QHmiPermission
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 QHmiPermission
impl PartialEq for QHmiPermission
Source§impl Serialize for QHmiPermission
impl Serialize for QHmiPermission
impl Copy for QHmiPermission
impl StructuralPartialEq for QHmiPermission
Auto Trait Implementations§
impl Freeze for QHmiPermission
impl RefUnwindSafe for QHmiPermission
impl Send for QHmiPermission
impl Sync for QHmiPermission
impl Unpin for QHmiPermission
impl UnwindSafe for QHmiPermission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Erasable for T
impl<T> Erasable for T
§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.