Documentation ¶
Index ¶
- type MultiAsset
- func (ma MultiAsset[V]) Add(other MultiAsset[V]) MultiAsset[V]
- func (ma MultiAsset[V]) Clone() MultiAsset[V]
- func (ma MultiAsset[V]) Equal(other MultiAsset[V]) bool
- func (ma MultiAsset[V]) Filter(f func(policy Policy.PolicyId, asset Asset.Asset[V]) bool) MultiAsset[V]
- func (ma MultiAsset[V]) GetByPolicyAndId(pol Policy.PolicyId, asset_name AssetName.AssetName) V
- func (ma MultiAsset[V]) Greater(other MultiAsset[V]) bool
- func (ma MultiAsset[V]) Less(other MultiAsset[V]) bool
- func (ma MultiAsset[V]) RemoveZeroAssets() MultiAsset[V]
- func (ma MultiAsset[V]) Sub(other MultiAsset[V]) MultiAsset[V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiAsset ¶
func (MultiAsset[V]) Add ¶
func (ma MultiAsset[V]) Add(other MultiAsset[V]) MultiAsset[V]
func (MultiAsset[V]) Clone ¶
func (ma MultiAsset[V]) Clone() MultiAsset[V]
func (MultiAsset[V]) Equal ¶
func (ma MultiAsset[V]) Equal(other MultiAsset[V]) bool
func (MultiAsset[V]) Filter ¶
func (ma MultiAsset[V]) Filter(f func(policy Policy.PolicyId, asset Asset.Asset[V]) bool) MultiAsset[V]
func (MultiAsset[V]) GetByPolicyAndId ¶
func (ma MultiAsset[V]) GetByPolicyAndId(pol Policy.PolicyId, asset_name AssetName.AssetName) V
func (MultiAsset[V]) Greater ¶
func (ma MultiAsset[V]) Greater(other MultiAsset[V]) bool
func (MultiAsset[V]) Less ¶
func (ma MultiAsset[V]) Less(other MultiAsset[V]) bool
func (MultiAsset[V]) RemoveZeroAssets ¶
func (ma MultiAsset[V]) RemoveZeroAssets() MultiAsset[V]
func (MultiAsset[V]) Sub ¶
func (ma MultiAsset[V]) Sub(other MultiAsset[V]) MultiAsset[V]
Click to show internal directories.
Click to hide internal directories.