pub enum ShutdownProperties {
DELAY,
LABEL,
TRIGGER,
}Expand description
The properties of EntityType Shutdown.
Variants§
DELAY
LABEL
§Property label
Hierarchical path with static segments, named parameters and catch-all parameters
Data Type: String
Socket Type: None
Mutability: Mutable
TRIGGER
§Property trigger
On receiving a boolean trigger the action will be executed
Data Type: Bool
Socket Type: Input
Mutability: Mutable
Implementations§
Source§impl ShutdownProperties
impl ShutdownProperties
pub fn len() -> usize
pub fn property_types() -> PropertyTypes
Source§impl ShutdownProperties
impl ShutdownProperties
pub fn into_iter() -> ShutdownPropertiesIterator ⓘ
Trait Implementations§
Source§impl AsRef<str> for ShutdownProperties
impl AsRef<str> for ShutdownProperties
Source§impl Clone for ShutdownProperties
impl Clone for ShutdownProperties
Source§fn clone(&self) -> ShutdownProperties
fn clone(&self) -> ShutdownProperties
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 ShutdownProperties
impl Debug for ShutdownProperties
Source§impl Display for ShutdownProperties
impl Display for ShutdownProperties
Source§impl From<ShutdownProperties> for &'static str
impl From<ShutdownProperties> for &'static str
Source§fn from(properties: ShutdownProperties) -> &'static str
fn from(properties: ShutdownProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<ShutdownProperties> for PropertyType
impl From<ShutdownProperties> for PropertyType
Source§fn from(properties: ShutdownProperties) -> PropertyType
fn from(properties: ShutdownProperties) -> PropertyType
Converts to this type from the input type.
Source§impl From<ShutdownProperties> for String
impl From<ShutdownProperties> for String
Source§fn from(properties: ShutdownProperties) -> String
fn from(properties: ShutdownProperties) -> String
Converts to this type from the input type.
Source§impl Hash for ShutdownProperties
impl Hash for ShutdownProperties
Source§impl IntoIterator for ShutdownProperties
impl IntoIterator for ShutdownProperties
Source§impl PartialEq for ShutdownProperties
impl PartialEq for ShutdownProperties
Source§impl PartialOrd for ShutdownProperties
impl PartialOrd for ShutdownProperties
impl Eq for ShutdownProperties
impl StructuralPartialEq for ShutdownProperties
Auto Trait Implementations§
impl Freeze for ShutdownProperties
impl RefUnwindSafe for ShutdownProperties
impl Send for ShutdownProperties
impl Sync for ShutdownProperties
impl Unpin for ShutdownProperties
impl UnwindSafe for ShutdownProperties
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
§impl<T> Casing<T> for T
impl<T> Casing<T> for T
§fn to_case(&self, case: Case<'_>) -> String
fn to_case(&self, case: Case<'_>) -> String
Convert the string into the given case. It will reference
self and create a new
String with the same pattern and delimeter as case. It will split on boundaries
defined at [Boundary::defaults()]. Read more§fn set_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
fn set_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
Creates a
StateConverter struct initialized with the boundaries provided. Read more§fn remove_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
fn remove_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
Creates a
StateConverter struct initialized without the boundaries
provided. Read moreSource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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> IntoRecords for T
impl<T> IntoRecords for T
§type Cell = <<T as IntoIterator>::Item as IntoIterator>::Item
type Cell = <<T as IntoIterator>::Item as IntoIterator>::Item
A string representation of a grid cell.
§type IterColumns = <T as IntoIterator>::Item
type IterColumns = <T as IntoIterator>::Item
Cell iterator inside a row.
§type IterRows = <T as IntoIterator>::IntoIter
type IterRows = <T as IntoIterator>::IntoIter
Rows iterator.