pub struct ChangeAvailabilityRequest {
pub connector_id: u64,
pub kind: AvailabilityType,
}
Fields
connector_id: u64
Required. The id of the connector for which availability needs to change. Id ‘0’ (zero) is used if the availability of the Charge Point and all its connectors needs to change.
kind: AvailabilityType
Required. This contains the type of availability change that the Charge Point should perform.
Trait Implementations
sourceimpl Clone for ChangeAvailabilityRequest
impl Clone for ChangeAvailabilityRequest
sourcefn clone(&self) -> ChangeAvailabilityRequest
fn clone(&self) -> ChangeAvailabilityRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeAvailabilityRequest
impl Debug for ChangeAvailabilityRequest
sourceimpl<'de> Deserialize<'de> for ChangeAvailabilityRequest
impl<'de> Deserialize<'de> for ChangeAvailabilityRequest
sourcefn 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
sourceimpl PartialEq<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
impl PartialEq<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
sourcefn eq(&self, other: &ChangeAvailabilityRequest) -> bool
fn eq(&self, other: &ChangeAvailabilityRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeAvailabilityRequest) -> bool
fn ne(&self, other: &ChangeAvailabilityRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ChangeAvailabilityRequest
impl Serialize for ChangeAvailabilityRequest
impl StructuralPartialEq for ChangeAvailabilityRequest
Auto Trait Implementations
impl RefUnwindSafe for ChangeAvailabilityRequest
impl Send for ChangeAvailabilityRequest
impl Sync for ChangeAvailabilityRequest
impl Unpin for ChangeAvailabilityRequest
impl UnwindSafe for ChangeAvailabilityRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more