Function snapps_txn_reference_impl::update_logic::apply_timing_update [−][src]
pub fn apply_timing_update<'a>(
account: Account<'a>,
update: &PartyUpdate<'_>
) -> Account<'a>Expand description
Update the timing field of account::Account with the new value from the
party::PartyUpdate.
Using set_or_keep and wrap_set_or_keep_timing_info:
account.timing = set_or_keep(account.timing, wrap_set_or_keep_timing_info(update.timing))