pub struct GetLogRequest {
pub custom_data: Option<CustomData>,
pub log: LogParameters,
pub log_type: LogEnum,
pub request_id: i64,
pub retries: Option<i64>,
pub retry_interval: Option<i64>,
}Fields§
§custom_data: Option<CustomData>§log: LogParameters§log_type: LogEnum§request_id: i64The Id of this request
retries: Option<i64>This specifies how many times the Charging Station must try to upload the log before giving up. If this field is not present, it is left to Charging Station to decide how many times it wants to retry.
retry_interval: Option<i64>The interval in seconds after which a retry may be attempted. If this field is not present, it is left to Charging Station to decide how long to wait between attempts.
Trait Implementations§
Source§impl Clone for GetLogRequest
impl Clone for GetLogRequest
Source§impl Debug for GetLogRequest
impl Debug for GetLogRequest
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 Request for GetLogRequest
impl Request 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 UnsafeUnpin 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