[docs] types.rs

This commit is contained in:
Riccardo Casatta 2020-12-04 16:13:15 +01:00
parent 8b1a9d2518
commit 95bfe7c983
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -32,7 +32,9 @@ use serde::{Deserialize, Serialize};
/// Types of script
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ScriptType {
/// External
External = 0,
/// Internal, usually used for change outputs
Internal = 1,
}