Struct rust_ocpp::v1_6::messages::get_diagnostics::GetDiagnosticsResponse
source · [−]Expand description
This contains the field definition of the GetDiagnostics.conf PDU sent by the Charge Point to the Central System in response to a GetDiagnosticsRequest PDU. See also Get Diagnostics
Fields
file_name: Option<String>
Optional. This contains the name of the file with diagnostic information that will be uploaded. This field is not present when no diagnostic information is vailable.
Trait Implementations
sourceimpl Clone for GetDiagnosticsResponse
impl Clone for GetDiagnosticsResponse
sourcefn clone(&self) -> GetDiagnosticsResponse
fn clone(&self) -> GetDiagnosticsResponse
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 GetDiagnosticsResponse
impl Debug for GetDiagnosticsResponse
sourceimpl<'de> Deserialize<'de> for GetDiagnosticsResponse
impl<'de> Deserialize<'de> for GetDiagnosticsResponse
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<GetDiagnosticsResponse> for GetDiagnosticsResponse
impl PartialEq<GetDiagnosticsResponse> for GetDiagnosticsResponse
sourcefn eq(&self, other: &GetDiagnosticsResponse) -> bool
fn eq(&self, other: &GetDiagnosticsResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetDiagnosticsResponse) -> bool
fn ne(&self, other: &GetDiagnosticsResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for GetDiagnosticsResponse
impl Serialize for GetDiagnosticsResponse
sourceimpl Validate for GetDiagnosticsResponse
impl Validate for GetDiagnosticsResponse
fn validate(&self) -> Result<(), ValidationErrors>
sourceimpl<'v_a> ValidateArgs<'v_a> for GetDiagnosticsResponse
impl<'v_a> ValidateArgs<'v_a> for GetDiagnosticsResponse
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for GetDiagnosticsResponse
Auto Trait Implementations
impl RefUnwindSafe for GetDiagnosticsResponse
impl Send for GetDiagnosticsResponse
impl Sync for GetDiagnosticsResponse
impl Unpin for GetDiagnosticsResponse
impl UnwindSafe for GetDiagnosticsResponse
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more