pub struct ResolvedCanisterRoute {
pub canister: Principal,
pub subnet: Principal,
pub matched_range: RoutingRange,
pub registry_version: u64,
pub catalog_digest: [u8; 32],
pub provenance: SubnetCatalogProvenance,
}Expand description
ResolvedCanisterRoute
Authority-bearing route tied to the exact validated catalog that proved it.
Fields§
§canister: PrincipalCanonical canister principal resolved through the routing table.
subnet: PrincipalCanonical target Subnet principal.
matched_range: RoutingRangeInclusive validated range containing the canister principal.
registry_version: u64Exact Registry version of the validated catalog.
catalog_digest: [u8; 32]Binary SHA-256 digest of the validated catalog authority payload.
provenance: SubnetCatalogProvenanceComplete provenance of the validated catalog.
Trait Implementations§
Source§impl Clone for ResolvedCanisterRoute
impl Clone for ResolvedCanisterRoute
Source§fn clone(&self) -> ResolvedCanisterRoute
fn clone(&self) -> ResolvedCanisterRoute
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 ResolvedCanisterRoute
impl Debug for ResolvedCanisterRoute
Source§impl<'de> Deserialize<'de> for ResolvedCanisterRoute
impl<'de> Deserialize<'de> for ResolvedCanisterRoute
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 ResolvedCanisterRoute
Source§impl PartialEq for ResolvedCanisterRoute
impl PartialEq for ResolvedCanisterRoute
Source§impl Serialize for ResolvedCanisterRoute
impl Serialize for ResolvedCanisterRoute
impl StructuralPartialEq for ResolvedCanisterRoute
Auto Trait Implementations§
impl Freeze for ResolvedCanisterRoute
impl RefUnwindSafe for ResolvedCanisterRoute
impl Send for ResolvedCanisterRoute
impl Sync for ResolvedCanisterRoute
impl Unpin for ResolvedCanisterRoute
impl UnsafeUnpin for ResolvedCanisterRoute
impl UnwindSafe for ResolvedCanisterRoute
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