pub struct NotifyAllowedEnergyTransferRequest<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize = 16> {
pub allowed_energy_transfer: Vec<EnergyTransferModeEnum, NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>,
pub custom_data: Option<CustomData>,
pub transaction_id: String<36usize>,
}Fields§
§allowed_energy_transfer: Vec<EnergyTransferModeEnum, NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>Modes of energy transfer that are accepted by CSMS.
custom_data: Option<CustomData>§transaction_id: String<36usize>The transaction for which the allowed energy transfer is allowed.
Trait Implementations§
Source§impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Action for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
Available on non-crate feature alloc only.
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Action for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
Available on non-crate feature
alloc only.Source§impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Clone for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Clone for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
Source§fn clone(
&self,
) -> NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
fn clone( &self, ) -> NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
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<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Debug for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Debug for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Eq for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
Source§impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> PartialEq for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> PartialEq for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> StructuralPartialEq for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
Auto Trait Implementations§
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Freeze for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> RefUnwindSafe for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Send for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Sync for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> Unpin for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> UnsafeUnpin for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
impl<const NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP: usize> UnwindSafe for NotifyAllowedEnergyTransferRequest<NOTIFY_ALLOWED_ENERGY_TRANSFER_REQUEST_ALLOWED_ENERGY_TRANSFER_CAP>
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