iota_types/
system_admin_cap.rs

1// Copyright (c) 2024 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4pub use checked::*;
5
6#[iota_macros::with_checked_arithmetic]
7mod checked {
8    use serde::{Deserialize, Serialize};
9
10    /// Rust version of the IotaSystemAdminCap type.
11    #[derive(Debug, Default, Serialize, Deserialize, Clone, Eq, PartialEq)]
12    pub struct IotaSystemAdminCap {
13        // This field is required to make a Rust struct compatible with an empty Move one.
14        // An empty Move struct contains a 1-byte dummy bool field because empty fields are not
15        // allowed in the bytecode.
16        dummy_field: bool,
17    }
18}