(dto: RequestExecutionScheduleDTO)
| 127 | |
| 128 | impl From<RequestExecutionScheduleDTO> for RequestExecutionPlan { |
| 129 | fn from(dto: RequestExecutionScheduleDTO) -> Self { |
| 130 | match dto { |
| 131 | RequestExecutionScheduleDTO::Immediate => Self::Immediate, |
| 132 | RequestExecutionScheduleDTO::Scheduled { execution_time } => Self::Scheduled { |
| 133 | execution_time: rfc3339_to_timestamp(&execution_time), |
| 134 | }, |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | impl From<RequestExecutionPlan> for RequestExecutionScheduleDTO { |
nothing calls this directly
no test coverage detected