pub struct FleetSubnetRootFundingPolicy {
pub funding_profile: FleetFundingProfile,
pub request_threshold: Cycles,
pub target_balance: Cycles,
pub cooldown_secs: u64,
pub budget: CyclesFundingBudget,
pub maximum_automatic_grants: u32,
pub maximum_automatic_cycles: Cycles,
}Expand description
FleetSubnetRootFundingPolicy
Immutable Coordinator-grant thresholds and budget for one registered root.
Fields§
§funding_profile: FleetFundingProfile§request_threshold: Cycles§target_balance: Cycles§cooldown_secs: u64§budget: CyclesFundingBudget§maximum_automatic_grants: u32§maximum_automatic_cycles: CyclesTrait Implementations§
Source§impl Clone for FleetSubnetRootFundingPolicy
impl Clone for FleetSubnetRootFundingPolicy
Source§fn clone(&self) -> FleetSubnetRootFundingPolicy
fn clone(&self) -> FleetSubnetRootFundingPolicy
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 Debug for FleetSubnetRootFundingPolicy
impl Debug for FleetSubnetRootFundingPolicy
Source§impl<'de> Deserialize<'de> for FleetSubnetRootFundingPolicy
impl<'de> Deserialize<'de> for FleetSubnetRootFundingPolicy
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 FleetSubnetRootFundingPolicy
impl StructuralPartialEq for FleetSubnetRootFundingPolicy
Auto Trait Implementations§
impl Freeze for FleetSubnetRootFundingPolicy
impl RefUnwindSafe for FleetSubnetRootFundingPolicy
impl Send for FleetSubnetRootFundingPolicy
impl Sync for FleetSubnetRootFundingPolicy
impl Unpin for FleetSubnetRootFundingPolicy
impl UnsafeUnpin for FleetSubnetRootFundingPolicy
impl UnwindSafe for FleetSubnetRootFundingPolicy
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