pub struct ExtendedSubnetConfigSet {
pub nns: Option<SubnetSpec>,
pub sns: Option<SubnetSpec>,
pub ii: Option<SubnetSpec>,
pub fiduciary: Option<SubnetSpec>,
pub bitcoin: Option<SubnetSpec>,
pub system: Vec<SubnetSpec>,
pub application: Vec<SubnetSpec>,
pub verified_application: Vec<SubnetSpec>,
}Fields§
§nns: Option<SubnetSpec>§sns: Option<SubnetSpec>§ii: Option<SubnetSpec>§fiduciary: Option<SubnetSpec>§bitcoin: Option<SubnetSpec>§system: Vec<SubnetSpec>§application: Vec<SubnetSpec>§verified_application: Vec<SubnetSpec>Implementations§
Source§impl ExtendedSubnetConfigSet
impl ExtendedSubnetConfigSet
pub fn get_named( &self, ) -> Vec<(SubnetKind, Option<PathBuf>, SubnetInstructionConfig)>
pub fn validate(&self) -> Result<(), String>
pub fn try_with_icp_features( self, icp_features: &IcpFeatures, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for ExtendedSubnetConfigSet
impl Clone for ExtendedSubnetConfigSet
Source§fn clone(&self) -> ExtendedSubnetConfigSet
fn clone(&self) -> ExtendedSubnetConfigSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedSubnetConfigSet
impl Debug for ExtendedSubnetConfigSet
Source§impl Default for ExtendedSubnetConfigSet
impl Default for ExtendedSubnetConfigSet
Source§fn default() -> ExtendedSubnetConfigSet
fn default() -> ExtendedSubnetConfigSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtendedSubnetConfigSet
impl<'de> Deserialize<'de> for ExtendedSubnetConfigSet
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
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 ExtendedSubnetConfigSet
impl Hash for ExtendedSubnetConfigSet
Source§impl JsonSchema for ExtendedSubnetConfigSet
impl JsonSchema for ExtendedSubnetConfigSet
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 ExtendedSubnetConfigSet
impl PartialEq for ExtendedSubnetConfigSet
Source§impl Serialize for ExtendedSubnetConfigSet
impl Serialize for ExtendedSubnetConfigSet
impl Eq for ExtendedSubnetConfigSet
impl StructuralPartialEq for ExtendedSubnetConfigSet
Auto Trait Implementations§
impl Freeze for ExtendedSubnetConfigSet
impl RefUnwindSafe for ExtendedSubnetConfigSet
impl Send for ExtendedSubnetConfigSet
impl Sync for ExtendedSubnetConfigSet
impl Unpin for ExtendedSubnetConfigSet
impl UnwindSafe for ExtendedSubnetConfigSet
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,
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.