pub struct IcpConfig {
pub beta_features: Option<IcpConfigFlag>,
pub function_name_length_limits: Option<IcpConfigFlag>,
pub canister_execution_rate_limiting: Option<IcpConfigFlag>,
}Expand description
Specifies ICP config of this instance.
Fields§
§beta_features: Option<IcpConfigFlag>Beta features (disabled on the ICP mainnet).
function_name_length_limits: Option<IcpConfigFlag>Limits on function name length in canister WASM (enabled on the ICP mainnet).
canister_execution_rate_limiting: Option<IcpConfigFlag>Rate-limiting of canister execution (enabled on the ICP mainnet). Canister execution refers to instructions and memory writes here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IcpConfig
impl<'de> Deserialize<'de> for IcpConfig
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 IcpConfig
Source§impl JsonSchema for IcpConfig
impl JsonSchema for IcpConfig
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 moreimpl StructuralPartialEq for IcpConfig
Auto Trait Implementations§
impl Freeze for IcpConfig
impl RefUnwindSafe for IcpConfig
impl Send for IcpConfig
impl Sync for IcpConfig
impl Unpin for IcpConfig
impl UnsafeUnpin for IcpConfig
impl UnwindSafe for IcpConfig
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.