pub struct SubnetConfigSet {
pub nns: bool,
pub sns: bool,
pub ii: bool,
pub fiduciary: bool,
pub bitcoin: bool,
pub test_threshold_keys: bool,
pub system: usize,
pub application: usize,
pub cloud_engine: usize,
pub verified_application: usize,
}Expand description
This represents which named subnets the user wants to create, and how many of the general app/system subnets, which are indistinguishable.
Fields§
§nns: bool§sns: bool§ii: bool§fiduciary: bool§bitcoin: bool§test_threshold_keys: bool§system: usize§application: usize§cloud_engine: usize§verified_application: usizeImplementations§
Trait Implementations§
Source§impl Clone for SubnetConfigSet
impl Clone for SubnetConfigSet
Source§impl Debug for SubnetConfigSet
impl Debug for SubnetConfigSet
Source§impl Default for SubnetConfigSet
impl Default for SubnetConfigSet
Source§impl<'de> Deserialize<'de> for SubnetConfigSet
impl<'de> Deserialize<'de> for SubnetConfigSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SubnetConfigSet
Source§impl From<SubnetConfigSet> for ExtendedSubnetConfigSet
impl From<SubnetConfigSet> for ExtendedSubnetConfigSet
Source§fn from(_: SubnetConfigSet) -> Self
fn from(_: SubnetConfigSet) -> Self
Converts to this type from the input type.
Source§impl Hash for SubnetConfigSet
impl Hash for SubnetConfigSet
Source§impl JsonSchema for SubnetConfigSet
impl JsonSchema for SubnetConfigSet
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SubnetConfigSet
impl PartialEq for SubnetConfigSet
Source§impl Serialize for SubnetConfigSet
impl Serialize for SubnetConfigSet
impl StructuralPartialEq for SubnetConfigSet
Auto Trait Implementations§
impl Freeze for SubnetConfigSet
impl RefUnwindSafe for SubnetConfigSet
impl Send for SubnetConfigSet
impl Sync for SubnetConfigSet
impl Unpin for SubnetConfigSet
impl UnsafeUnpin for SubnetConfigSet
impl UnwindSafe for SubnetConfigSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.