iota-client 1.4.0

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
Trasury output.

### from(amount): [TreasuryOutput](#treasuryoutput)

Creates a new TreasuryOutput with the amount supplied

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| amount | long |  The amount to set |

### amount(): long

Returns the amount of a `TreasuryOutput`.