pub struct AnyContract;Expand description
Marker for the Daml interface AnyContract (held via ContractId).
Trait Implementations§
Source§impl Clone for AnyContract
impl Clone for AnyContract
Source§fn clone(&self) -> AnyContract
fn clone(&self) -> AnyContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Contract for AnyContract
impl Contract for AnyContract
Source§const PACKAGE_ID: &'static str = "4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f"
const PACKAGE_ID: &'static str = "4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f"
The id (hash) of the package that defines it. Pins the exact version;
prefer
Contract::template_id, which uses the package name.Source§const PACKAGE_NAME: &'static str = "splice-api-token-metadata-v1"
const PACKAGE_NAME: &'static str = "splice-api-token-metadata-v1"
The Daml package name (e.g.
splice-amulet).Source§const MODULE_NAME: &'static str = "Splice.Api.Token.MetadataV1"
const MODULE_NAME: &'static str = "Splice.Api.Token.MetadataV1"
The Daml module it is defined in, dotted (e.g.
Splice.Amulet).Source§const ENTITY_NAME: &'static str = "AnyContract"
const ENTITY_NAME: &'static str = "AnyContract"
The template/interface entity name (e.g.
AmuletRules, Holding).Source§fn template_id() -> Identifier
fn template_id() -> Identifier
The on-ledger id. Uses the upgrade-friendly package-name form
(
#<package-name>), so the participant resolves the version vetted under
Smart Contract Upgrade rather than pinning one package id. Falls back to
the package id when no name is known.impl Copy for AnyContract
Source§impl Debug for AnyContract
impl Debug for AnyContract
impl Eq for AnyContract
Source§impl Interface for AnyContract
impl Interface for AnyContract
Source§type View = AnyContractView
type View = AnyContractView
The interface’s view type — the record returned by an interface view.
Source§impl PartialEq for AnyContract
impl PartialEq for AnyContract
impl StructuralPartialEq for AnyContract
Auto Trait Implementations§
impl Freeze for AnyContract
impl RefUnwindSafe for AnyContract
impl Send for AnyContract
impl Sync for AnyContract
impl Unpin for AnyContract
impl UnsafeUnpin for AnyContract
impl UnwindSafe for AnyContract
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request