pub struct GetLogRequest {
pub log_type: LogEnumType,
pub request_id: i64,
pub retries: Option<i64>,
pub retry_interval: Option<i64>,
pub log: LogParametersType,
}
Expand description
GetLogRequest, sent by the CSMS to the Charging Station.
Fields
log_type: LogEnumType
This contains the type of log file that theCharging Station should send
request_id: i64
The Id of this request
retries: Option<i64>
This specifies how many times the ChargingStation must try to upload the log before giving up. If thisfield is not present, it is left to Charging Station to decidehow many times it wants to retry
retry_interval: Option<i64>
The interval in seconds after which a retry maybe attempted. If this field is not present, it is left toCharging Station to decide how long to wait between attempts
log: LogParametersType
This field specifies the requested log and thelocation to which the log should be sent.
Trait Implementations
sourceimpl Clone for GetLogRequest
impl Clone for GetLogRequest
sourcefn clone(&self) -> GetLogRequest
fn clone(&self) -> GetLogRequest
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 GetLogRequest
impl Debug for GetLogRequest
sourceimpl<'de> Deserialize<'de> for GetLogRequest
impl<'de> Deserialize<'de> for GetLogRequest
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<GetLogRequest> for GetLogRequest
impl PartialEq<GetLogRequest> for GetLogRequest
sourcefn eq(&self, other: &GetLogRequest) -> bool
fn eq(&self, other: &GetLogRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetLogRequest) -> bool
fn ne(&self, other: &GetLogRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetLogRequest
impl Serialize for GetLogRequest
impl StructuralPartialEq for GetLogRequest
Auto Trait Implementations
impl RefUnwindSafe for GetLogRequest
impl Send for GetLogRequest
impl Sync for GetLogRequest
impl Unpin for GetLogRequest
impl UnwindSafe for GetLogRequest
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