pub struct ExternalExecutableRef {
pub owner: ScAddress,
pub tag: String,
}Expand description
The owner + tag pair of a CAP-85 CONTRACT_EXECUTABLE_EXTERNAL_REF.
Per CAP-0085 the referenced Wasm hash lives in a persistent contract-data
entry of executable_owner, keyed by tag, with the value being the 32
raw hash bytes. The owner contract is not invoked for the lookup.
Fields§
§owner: ScAddressOwner contract holding the executable entry (CAP-85 executable_owner).
tag: StringThe tag keying the owner’s entry (CAP-85 tag, an ScString).
Trait Implementations§
Source§impl Clone for ExternalExecutableRef
impl Clone for ExternalExecutableRef
Source§impl Debug for ExternalExecutableRef
impl Debug for ExternalExecutableRef
impl Eq for ExternalExecutableRef
Source§impl PartialEq for ExternalExecutableRef
impl PartialEq for ExternalExecutableRef
impl StructuralPartialEq for ExternalExecutableRef
Auto Trait Implementations§
impl Freeze for ExternalExecutableRef
impl RefUnwindSafe for ExternalExecutableRef
impl Send for ExternalExecutableRef
impl Sync for ExternalExecutableRef
impl Unpin for ExternalExecutableRef
impl UnsafeUnpin for ExternalExecutableRef
impl UnwindSafe for ExternalExecutableRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.