Struct rust_ocpp::v2_0_1::messages::clear_cache::ClearCacheResponse
source · pub struct ClearCacheResponse {
pub status: ClearCacheStatusEnumType,
pub status_info: Option<StatusInfoType>,
}
Expand description
ClearCacheResponse
, sent by the Charging Station to the CSMS in response to a ClearCacheRequest
.
Fields§
§status: ClearCacheStatusEnumType
Accepted if the Charging Station has executed the request, otherwise rejected.
status_info: Option<StatusInfoType>
Detailed status information.
Trait Implementations§
source§impl Clone for ClearCacheResponse
impl Clone for ClearCacheResponse
source§fn clone(&self) -> ClearCacheResponse
fn clone(&self) -> ClearCacheResponse
Returns a copy 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 ClearCacheResponse
impl Debug for ClearCacheResponse
source§impl Default for ClearCacheResponse
impl Default for ClearCacheResponse
source§fn default() -> ClearCacheResponse
fn default() -> ClearCacheResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClearCacheResponse
impl<'de> Deserialize<'de> for ClearCacheResponse
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 ClearCacheResponse
impl PartialEq for ClearCacheResponse
source§fn eq(&self, other: &ClearCacheResponse) -> bool
fn eq(&self, other: &ClearCacheResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClearCacheResponse
impl Serialize for ClearCacheResponse
impl StructuralPartialEq for ClearCacheResponse
Auto Trait Implementations§
impl Freeze for ClearCacheResponse
impl RefUnwindSafe for ClearCacheResponse
impl Send for ClearCacheResponse
impl Sync for ClearCacheResponse
impl Unpin for ClearCacheResponse
impl UnwindSafe for ClearCacheResponse
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