pub struct LoadPoint {
pub ramp_rates: Option<RampRate>,
pub reactive_pwr_set_point_enabled: Option<ControlDpc>,
pub real_pwr_set_point_enabled: Option<ControlDpc>,
pub reset: Option<ControlDpc>,
pub state: Option<OptionalStateKind>,
pub start_time: Option<ControlTimestamp>,
}
Expand description
Point definition (Point)
Fields§
§ramp_rates: Option<RampRate>
Ramp rates
reactive_pwr_set_point_enabled: Option<ControlDpc>
Enable reactive power set point
real_pwr_set_point_enabled: Option<ControlDpc>
Enable joint real power set point
reset: Option<ControlDpc>
Reset device
state: Option<OptionalStateKind>
ESS state
start_time: Option<ControlTimestamp>
Start time
Trait Implementations§
Source§impl Message for LoadPoint
impl Message for LoadPoint
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for LoadPoint
Auto Trait Implementations§
impl Freeze for LoadPoint
impl RefUnwindSafe for LoadPoint
impl Send for LoadPoint
impl Sync for LoadPoint
impl Unpin for LoadPoint
impl UnwindSafe for LoadPoint
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