pub struct NotifyAllowedEnergyTransferRequest {
pub transaction_id: String,
pub allowed_energy_transfer: Vec<EnergyTransferModeEnum>,
pub custom_data: Option<CustomData>,
}Fields§
§transaction_id: StringThe transaction for which the allowed energy transfer is allowed.
allowed_energy_transfer: Vec<EnergyTransferModeEnum>Modes of energy transfer that are accepted by CSMS.
custom_data: Option<CustomData>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NotifyAllowedEnergyTransferRequest
impl<'de> Deserialize<'de> for NotifyAllowedEnergyTransferRequest
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
impl StructuralPartialEq for NotifyAllowedEnergyTransferRequest
Auto Trait Implementations§
impl Freeze for NotifyAllowedEnergyTransferRequest
impl RefUnwindSafe for NotifyAllowedEnergyTransferRequest
impl Send for NotifyAllowedEnergyTransferRequest
impl Sync for NotifyAllowedEnergyTransferRequest
impl Unpin for NotifyAllowedEnergyTransferRequest
impl UnsafeUnpin for NotifyAllowedEnergyTransferRequest
impl UnwindSafe for NotifyAllowedEnergyTransferRequest
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