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
sourceimpl Clone for ClearCacheResponse
impl Clone for ClearCacheResponse
sourcefn clone(&self) -> ClearCacheResponse
fn clone(&self) -> ClearCacheResponse
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 ClearCacheResponse
impl Debug for ClearCacheResponse
sourceimpl<'de> Deserialize<'de> for ClearCacheResponse
impl<'de> Deserialize<'de> for ClearCacheResponse
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<ClearCacheResponse> for ClearCacheResponse
impl PartialEq<ClearCacheResponse> for ClearCacheResponse
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ClearCacheResponse) -> bool
fn ne(&self, other: &ClearCacheResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for ClearCacheResponse
impl Serialize for ClearCacheResponse
impl StructuralPartialEq for ClearCacheResponse
Auto Trait Implementations
impl RefUnwindSafe for ClearCacheResponse
impl Send for ClearCacheResponse
impl Sync for ClearCacheResponse
impl Unpin for ClearCacheResponse
impl UnwindSafe for ClearCacheResponse
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