StreamFlow is the struct containing all our necessary metadata.
Serialize any to u8 slice.
The program entrypoint
Deserialize account data into StreamFlow struct. This is used for reading the metadata from the account holding the locked funds.
Deserialize instruction_data into StreamFlow struct. This is used to read instructions given to us by the program’s initializer.