pub struct GetLogRequest {
pub log_type: LogEnumType,
pub request_id: i32,
pub retries: Option<i32>,
pub retry_interval: Option<i32>,
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: i32
The Id of this request
retries: Option<i32>
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<i32>
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§
Source§impl Clone for GetLogRequest
impl Clone for GetLogRequest
Source§fn clone(&self) -> GetLogRequest
fn clone(&self) -> GetLogRequest
Returns a duplicate 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 GetLogRequest
impl Debug for GetLogRequest
Source§impl Default for GetLogRequest
impl Default for GetLogRequest
Source§fn default() -> GetLogRequest
fn default() -> GetLogRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLogRequest
impl<'de> Deserialize<'de> for GetLogRequest
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 GetLogRequest
impl PartialEq for GetLogRequest
Source§impl Serialize for GetLogRequest
impl Serialize for GetLogRequest
impl StructuralPartialEq for GetLogRequest
Auto Trait Implementations§
impl Freeze for GetLogRequest
impl RefUnwindSafe for GetLogRequest
impl Send for GetLogRequest
impl Sync for GetLogRequest
impl Unpin for GetLogRequest
impl UnwindSafe for GetLogRequest
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