pub async fn renew(
id: &str,
cur_expiry_date: DateTime<Utc>,
add_period: Option<Period>,
client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<RenewResponse>, Error>
Expand description
Extends a mark’s validity
Arguments
id
- The ID to renewcur_expriry_date
- The current expiry date of the object to be renewedadd_period
- How long to extend the validity byclient_sender
- Reference to the tokio channel into the client