pub fn new_keep_alive(duration: Duration) -> Self {
        Self {
            duration,
            extra_retries: 0,
            payload_json: None,
            payload_bytes: None,
        }
    }
/// Construct a new checkpoint which also keeps the job alive
/// for the specified interval.
Construct a new checkpoint which also keeps the job alive
for the specified interval.
Construct a new checkpoint which also keeps the job alive for the specified interval .
pub fn new_keep_alive(duration: Duration) -> Self {
        Self {
            duration,
            extra_retries: 0,
            payload_json: None,
            payload_bytes: None,
        }
    }
pub fn new_keep_alive ( duration : Duration ) -> Self { Self { duration , extra_retries : 0 , payload_json : None , payload_bytes : None , } }
Construct a new checkpoint which also keeps the job alive
for the specified interval.
Construct a new checkpoint which also keeps the job alive for the specified interval .
duration
Duration
duration
Duration