Function snapps_txn_reference_impl::update_logic::apply_uri_update [−][src]
pub fn apply_uri_update<'a>(
snapp_account: SnappAccount<'a>,
update: &PartyUpdate<'a>
) -> SnappAccount<'a>
Expand description
Update the uri
field of account::SnappAccount
with the new value from the
party::PartyUpdate
.
Using set_or_keep
:
snapp_account.uri = set_or_keep(snapp_account.uri, update.uri)