pub struct ChargingProfile {
pub charging_profile_id: i32,
pub transaction_id: Option<i32>,
pub stack_level: u32,
pub charging_profile_purpose: ChargingProfilePurposeType,
pub charging_profile_kind: ChargingProfileKindType,
pub recurrency_kind: Option<RecurrencyKindType>,
pub valid_from: Option<DateTime<Utc>>,
pub valid_to: Option<DateTime<Utc>>,
pub charging_schedule: ChargingSchedule,
}
Fields§
§charging_profile_id: i32
§transaction_id: Option<i32>
§stack_level: u32
§charging_profile_purpose: ChargingProfilePurposeType
§charging_profile_kind: ChargingProfileKindType
§recurrency_kind: Option<RecurrencyKindType>
§valid_from: Option<DateTime<Utc>>
§valid_to: Option<DateTime<Utc>>
§charging_schedule: ChargingSchedule
Trait Implementations§
Source§impl Clone for ChargingProfile
impl Clone for ChargingProfile
Source§fn clone(&self) -> ChargingProfile
fn clone(&self) -> ChargingProfile
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 ChargingProfile
impl Debug for ChargingProfile
Source§impl Default for ChargingProfile
impl Default for ChargingProfile
Source§fn default() -> ChargingProfile
fn default() -> ChargingProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChargingProfile
impl<'de> Deserialize<'de> for ChargingProfile
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 ChargingProfile
impl PartialEq for ChargingProfile
Source§impl Serialize for ChargingProfile
impl Serialize for ChargingProfile
impl StructuralPartialEq for ChargingProfile
Auto Trait Implementations§
impl Freeze for ChargingProfile
impl RefUnwindSafe for ChargingProfile
impl Send for ChargingProfile
impl Sync for ChargingProfile
impl Unpin for ChargingProfile
impl UnwindSafe for ChargingProfile
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