pub struct CommandControl {
pub maximum_power_value: MaximumPowerValue,
pub execution_time_from: String,
pub execution_time_until: Option<String>,
}Expand description
Regulate a location to a specific maximum power value.
Fields§
§maximum_power_value: MaximumPowerValue§execution_time_from: StringStart of effect period — ISO 8601 UTC, second precision (e.g. "2023-08-01T12:30:00Z").
execution_time_until: Option<String>Optional end of effect period.
Trait Implementations§
Source§impl Clone for CommandControl
impl Clone for CommandControl
Source§fn clone(&self) -> CommandControl
fn clone(&self) -> CommandControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandControl
impl Debug for CommandControl
Source§impl<'de> Deserialize<'de> for CommandControl
impl<'de> Deserialize<'de> for CommandControl
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 CommandControl
impl PartialEq for CommandControl
Source§fn eq(&self, other: &CommandControl) -> bool
fn eq(&self, other: &CommandControl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandControl
impl Serialize for CommandControl
impl StructuralPartialEq for CommandControl
Auto Trait Implementations§
impl Freeze for CommandControl
impl RefUnwindSafe for CommandControl
impl Send for CommandControl
impl Sync for CommandControl
impl Unpin for CommandControl
impl UnsafeUnpin for CommandControl
impl UnwindSafe for CommandControl
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