pub struct Allocation;Expand description
Marker for the Daml interface Allocation (held via ContractId).
Trait Implementations§
Source§impl Choice<Allocation> for Allocation_Settle
The Allocation_Settle choice on Allocation (non-consuming).
impl Choice<Allocation> for Allocation_Settle
The Allocation_Settle choice on Allocation (non-consuming).
Source§impl Choice<Allocation> for Allocation_Cancel
The Allocation_Cancel choice on Allocation (non-consuming).
impl Choice<Allocation> for Allocation_Cancel
The Allocation_Cancel choice on Allocation (non-consuming).
Source§impl Choice<Allocation> for Allocation_Withdraw
The Allocation_Withdraw choice on Allocation (non-consuming).
impl Choice<Allocation> for Allocation_Withdraw
The Allocation_Withdraw choice on Allocation (non-consuming).
Source§impl Clone for Allocation
impl Clone for Allocation
Source§fn clone(&self) -> Allocation
fn clone(&self) -> Allocation
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 Allocation
impl Contract for Allocation
Source§const PACKAGE_ID: &'static str = "051a3b0563a6fa4df4cb34448081e48b061e555aa1a265abf6ae8f3f4cafe439"
const PACKAGE_ID: &'static str = "051a3b0563a6fa4df4cb34448081e48b061e555aa1a265abf6ae8f3f4cafe439"
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-allocation-v2"
const PACKAGE_NAME: &'static str = "splice-api-token-allocation-v2"
The Daml package name (e.g.
splice-amulet).Source§const MODULE_NAME: &'static str = "Splice.Api.Token.AllocationV2"
const MODULE_NAME: &'static str = "Splice.Api.Token.AllocationV2"
The Daml module it is defined in, dotted (e.g.
Splice.Amulet).Source§const ENTITY_NAME: &'static str = "Allocation"
const ENTITY_NAME: &'static str = "Allocation"
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 Allocation
Source§impl Debug for Allocation
impl Debug for Allocation
impl Eq for Allocation
Source§impl Interface for Allocation
impl Interface for Allocation
Source§type View = AllocationView
type View = AllocationView
The interface’s view type — the record returned by an interface view.
Source§impl PartialEq for Allocation
impl PartialEq for Allocation
impl StructuralPartialEq for Allocation
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnsafeUnpin for Allocation
impl UnwindSafe for Allocation
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