pub struct SetChargingProfile {
pub charging_profile: ChargingProfile,
pub response_url: Url,
pub extensions: Extensions,
}Available on crate feature
v2_3_0 only.Expand description
A request to set a charging profile on a session.
Spec: 2.3.0 §mod_charging_profiles_set_charging_profile_object
Fields§
§charging_profile: ChargingProfileLimits for the available power or current over time.
response_url: UrlURL that the ChargingProfileResult POST should be sent to.
extensions: ExtensionsUndocumented JSON fields, preserved verbatim.
Implementations§
Source§impl SetChargingProfile
impl SetChargingProfile
Sourcepub fn builder() -> SetChargingProfileBuilder
pub fn builder() -> SetChargingProfileBuilder
Create an instance of SetChargingProfile using the builder syntax
Trait Implementations§
Source§impl Clone for SetChargingProfile
impl Clone for SetChargingProfile
Source§fn clone(&self) -> SetChargingProfile
fn clone(&self) -> SetChargingProfile
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 SetChargingProfile
impl Debug for SetChargingProfile
Source§impl<'de> Deserialize<'de> for SetChargingProfile
impl<'de> Deserialize<'de> for SetChargingProfile
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 JsonSchema for SetChargingProfile
impl JsonSchema for SetChargingProfile
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SetChargingProfile
impl PartialEq for SetChargingProfile
Source§impl Serialize for SetChargingProfile
impl Serialize for SetChargingProfile
impl StructuralPartialEq for SetChargingProfile
Source§impl Validate for SetChargingProfile
impl Validate for SetChargingProfile
Auto Trait Implementations§
impl Freeze for SetChargingProfile
impl RefUnwindSafe for SetChargingProfile
impl Send for SetChargingProfile
impl Sync for SetChargingProfile
impl Unpin for SetChargingProfile
impl UnsafeUnpin for SetChargingProfile
impl UnwindSafe for SetChargingProfile
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