pub struct PoolImportReservation {Show 14 fields
pub sequence: u64,
pub plan_sha256: [u8; 32],
pub root_authority_sha256: [u8; 32],
pub root: Principal,
pub operator: Principal,
pub subnet: Principal,
pub transitional_controllers: Vec<Principal>,
pub final_controllers: Vec<Principal>,
pub sources: Vec<PoolImportSource>,
pub observed_root_cycles: u128,
pub observed_root_reserved_cycles: u128,
pub minimum_root_cycles: u128,
pub maximum_root_debit_cycles: u128,
pub maximum_paid_calls: u32,
}Expand description
Exact current-Root reservation; sequence prevents replay after a later import.
Fields§
§sequence: u64§plan_sha256: [u8; 32]§root: Principal§operator: Principal§subnet: Principal§transitional_controllers: Vec<Principal>§final_controllers: Vec<Principal>§sources: Vec<PoolImportSource>§observed_root_cycles: u128§observed_root_reserved_cycles: u128§minimum_root_cycles: u128§maximum_root_debit_cycles: u128§maximum_paid_calls: u32Trait Implementations§
Source§impl CandidType for PoolImportReservation
impl CandidType for PoolImportReservation
Source§impl Clone for PoolImportReservation
impl Clone for PoolImportReservation
Source§impl Debug for PoolImportReservation
impl Debug for PoolImportReservation
Source§impl<'de> Deserialize<'de> for PoolImportReservation
impl<'de> Deserialize<'de> for PoolImportReservation
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 PoolImportReservation
Source§impl PartialEq for PoolImportReservation
impl PartialEq for PoolImportReservation
Source§impl Serialize for PoolImportReservation
impl Serialize for PoolImportReservation
impl StructuralPartialEq for PoolImportReservation
Auto Trait Implementations§
impl Freeze for PoolImportReservation
impl RefUnwindSafe for PoolImportReservation
impl Send for PoolImportReservation
impl Sync for PoolImportReservation
impl Unpin for PoolImportReservation
impl UnsafeUnpin for PoolImportReservation
impl UnwindSafe for PoolImportReservation
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