pub struct FleetSubnetRootAutomaticIcpRefillPolicy {
pub emergency_threshold: Cycles,
pub target_balance: Cycles,
pub maximum_automatic_refills: u32,
pub maximum_automatic_refill_e8s: u64,
}Expand description
FleetSubnetRootAutomaticIcpRefillPolicy
Optional emergency trigger and target subordinate to one root’s ICP-refill policy.
Fields§
§emergency_threshold: Cycles§target_balance: Cycles§maximum_automatic_refills: u32§maximum_automatic_refill_e8s: u64Trait Implementations§
Source§impl Clone for FleetSubnetRootAutomaticIcpRefillPolicy
impl Clone for FleetSubnetRootAutomaticIcpRefillPolicy
Source§fn clone(&self) -> FleetSubnetRootAutomaticIcpRefillPolicy
fn clone(&self) -> FleetSubnetRootAutomaticIcpRefillPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for FleetSubnetRootAutomaticIcpRefillPolicy
impl<'de> Deserialize<'de> for FleetSubnetRootAutomaticIcpRefillPolicy
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 FleetSubnetRootAutomaticIcpRefillPolicy
impl StructuralPartialEq for FleetSubnetRootAutomaticIcpRefillPolicy
Auto Trait Implementations§
impl Freeze for FleetSubnetRootAutomaticIcpRefillPolicy
impl RefUnwindSafe for FleetSubnetRootAutomaticIcpRefillPolicy
impl Send for FleetSubnetRootAutomaticIcpRefillPolicy
impl Sync for FleetSubnetRootAutomaticIcpRefillPolicy
impl Unpin for FleetSubnetRootAutomaticIcpRefillPolicy
impl UnsafeUnpin for FleetSubnetRootAutomaticIcpRefillPolicy
impl UnwindSafe for FleetSubnetRootAutomaticIcpRefillPolicy
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