pub struct ResolvedSubnet {
pub input_principal: String,
pub resolved_as: ResolvedSubnetSubject,
pub resolved_from: String,
pub subnet: SubnetInfo,
pub matched_canister_principal: Option<String>,
pub matched_routing_range: Option<RoutingRange>,
pub catalog_digest: String,
pub provenance: SubnetCatalogProvenance,
}Expand description
ResolvedSubnet
Resolved subnet match and the evidence used to produce it.
Fields§
§input_principal: StringCanonical principal resolved from the supplied subject.
resolved_as: ResolvedSubnetSubjectWhether resolution treated the subject as a Subnet or a canister.
resolved_from: StringResolution evidence label: a Subnet principal match or a routing range.
subnet: SubnetInfoResolved Subnet record with its Registry type and classification annotations.
matched_canister_principal: Option<String>Exact canonical canister principal for a canister subject; absent for a Subnet subject.
matched_routing_range: Option<RoutingRange>Inclusive routing authority range used for a canister subject.
catalog_digest: StringLowercase SHA-256 digest of the raw catalog supplying the match.
provenance: SubnetCatalogProvenanceComplete provenance supplied by the raw catalog.
Trait Implementations§
Source§impl Clone for ResolvedSubnet
impl Clone for ResolvedSubnet
Source§impl Debug for ResolvedSubnet
impl Debug for ResolvedSubnet
Source§impl<'de> Deserialize<'de> for ResolvedSubnet
impl<'de> Deserialize<'de> for ResolvedSubnet
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 ResolvedSubnet
Source§impl PartialEq for ResolvedSubnet
impl PartialEq for ResolvedSubnet
Source§impl Serialize for ResolvedSubnet
impl Serialize for ResolvedSubnet
impl StructuralPartialEq for ResolvedSubnet
Auto Trait Implementations§
impl Freeze for ResolvedSubnet
impl RefUnwindSafe for ResolvedSubnet
impl Send for ResolvedSubnet
impl Sync for ResolvedSubnet
impl Unpin for ResolvedSubnet
impl UnsafeUnpin for ResolvedSubnet
impl UnwindSafe for ResolvedSubnet
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