Struct daml_lf::element::DamlDefKey
source · [−]pub struct DamlDefKey<'a> {
pub ty: DamlType<'a>,
pub maintainers: DamlExpr<'a>,
pub key_expr: DamlExpr<'a>,
}Expand description
A Daml template key definition.
Fields
ty: DamlType<'a>maintainers: DamlExpr<'a>key_expr: DamlExpr<'a>Implementations
sourceimpl<'a> DamlDefKey<'a>
impl<'a> DamlDefKey<'a>
Trait Implementations
sourceimpl<'a> Clone for DamlDefKey<'a>
impl<'a> Clone for DamlDefKey<'a>
sourcefn clone(&self) -> DamlDefKey<'a>
fn clone(&self) -> DamlDefKey<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> DamlVisitableElement<'a> for DamlDefKey<'a>
impl<'a> DamlVisitableElement<'a> for DamlDefKey<'a>
fn accept(&'a self, visitor: &'a mut impl DamlElementVisitor)
sourceimpl<'a> Debug for DamlDefKey<'a>
impl<'a> Debug for DamlDefKey<'a>
sourceimpl<'a> IntoBoundedStatic for DamlDefKey<'a>
impl<'a> IntoBoundedStatic for DamlDefKey<'a>
type Static = DamlDefKey<'static>
type Static = DamlDefKey<'static>
The target type is bounded by the 'static lifetime.
sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned T into an owned T such that T: 'static.
sourceimpl<'a> Serialize for DamlDefKey<'a>
impl<'a> Serialize for DamlDefKey<'a>
sourceimpl<'a> ToBoundedStatic for DamlDefKey<'a>
impl<'a> ToBoundedStatic for DamlDefKey<'a>
type Static = DamlDefKey<'static>
type Static = DamlDefKey<'static>
The target type is bounded by the 'static lifetime.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DamlDefKey<'a>
impl<'a> Send for DamlDefKey<'a>
impl<'a> Sync for DamlDefKey<'a>
impl<'a> Unpin for DamlDefKey<'a>
impl<'a> UnwindSafe for DamlDefKey<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more