AssetName
Extends: RefCounted
Description
An AssetName (or currency symbol).
An AssetName (or currency symbol).
Constants Descriptions
Status
Method Descriptions
_init
to_bytes
to_hex
Get the hex encoding of the AssetName.
from_hex (static)
Try to parse an [class AssetName] from [param hash] containing its hex encoding.
from_bytes (static)
Try to parse an AssetName.
Sub-classes
FromHexResult
Property Descriptions
value
- Getter:
@value_getter
WARNING: This function may fail! First match on Result.tag or call Result.is_ok.
error
- Getter:
@error_getter
WARNING: This function may fail! First match on Result.tag or call Result._is_err.
FromBytesResult
Property Descriptions
value
- Getter:
@value_getter
WARNING: This function may fail! First match on Result.tag or call Result.is_ok.
error
- Getter:
@error_getter
WARNING: This function may fail! First match on Result.tag or call Result._is_err.