identity_iota::iota::rebased::proposals

Trait BorrowIntentFnT

Source
pub trait BorrowIntentFnT: FnOnce(&mut ProgrammableTransactionBuilder, &HashMap<ObjectID, (Argument, IotaObjectData)>) { }
Expand description

Instances of BorrowIntentFnT can be used as user-provided function to describe how a borrowed assets shall be used.

Implementors§

Source§

impl<T> BorrowIntentFnT for T
where T: FnOnce(&mut ProgrammableTransactionBuilder, &HashMap<ObjectID, (Argument, IotaObjectData)>),