neo3 1.0.7

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
14
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ValidateAddress {
	pub address: String,
	#[serde(rename = "isvalid")]
	pub is_valid: bool,
}

impl ValidateAddress {
	pub fn new(address: String, is_valid: bool) -> Self {
		Self { address, is_valid }
	}
}