pub struct Holding;Expand description
The V1 Holding interface, at the root because it is the type a caller
reaches for first. Everything else is under types.
Marker for the Daml interface Holding (held via ContractId).
Trait Implementations§
Source§impl Contract for Holding
impl Contract for Holding
Source§const PACKAGE_ID: &'static str = "718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b"
const PACKAGE_ID: &'static str = "718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b"
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-holding-v1"
const PACKAGE_NAME: &'static str = "splice-api-token-holding-v1"
The Daml package name (e.g.
splice-amulet).Source§const MODULE_NAME: &'static str = "Splice.Api.Token.HoldingV1"
const MODULE_NAME: &'static str = "Splice.Api.Token.HoldingV1"
The Daml module it is defined in, dotted (e.g.
Splice.Amulet).Source§const ENTITY_NAME: &'static str = "Holding"
const ENTITY_NAME: &'static str = "Holding"
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 Holding
impl Eq for Holding
Source§impl Interface for Holding
impl Interface for Holding
Source§type View = HoldingView
type View = HoldingView
The interface’s view type — the record returned by an interface view.
impl StructuralPartialEq for Holding
Auto Trait Implementations§
impl Freeze for Holding
impl RefUnwindSafe for Holding
impl Send for Holding
impl Sync for Holding
impl Unpin for Holding
impl UnsafeUnpin for Holding
impl UnwindSafe for Holding
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