neo3 1.0.9

Production-ready Rust SDK for Neo N3 blockchain with high-level API, unified error handling, and enterprise features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Hash, Clone)]
pub struct ExpressShutdown {
	#[serde(rename = "process-id")]
	process_id: i32,
}

impl ExpressShutdown {
	pub fn new(process_id: i32) -> Self {
		Self { process_id }
	}
}