logo
pub struct DamlArchive<'a> { /* private fields */ }

Implementations

Return the package id of the main DamlPackage contained in this DamlArchive.

Return an Iterator of the DamlPackage in this DamlArchive.

Return the first DamlPackage in this DamlArchive which has the given name or None if no such package exists.

Return the main DamlPackage in this DamlArchive or None if no such package exists.

Retrieve a DamlData contained within this DamlArchive referred to by the supplied DamlTyCon or None if not such data item exists.

DOCME

Retrieve a DamlData contained within this DamlArchive referred to by the supplied DamlTyConName or None if not such data item exists.

DOCME

Retrieve a DamlData contained within this DamlArchive referred to by the supplied package id, module path & name or None if not such data item exists.

DOCME

Retrieve a DamlDefValue for a given DamlValueName or None if no such value exists in this DamlArchive.

DOCME

Retrieve a DamlDefValue for the supplied package id, module path & name or None if no such value exists in this DamlArchive.

DOCME

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The target type is bounded by the 'static lifetime.

Convert an owned T into an owned T such that T: 'static.

Serialize this value into the given Serde serializer. Read more

The target type is bounded by the 'static lifetime.

Convert an &T to an owned T such that T: 'static.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.