pub struct PortableV2SelectionPlan {
pub source_generation_uuid: String,
pub source_manifest_sha256: String,
pub package_class: String,
pub included: Vec<PortableV2SelectionEntry>,
pub excluded: Vec<PortableV2SelectionEntry>,
pub projected: Vec<PortableV2ProjectedSelectionEntry>,
pub redactions: Vec<String>,
pub required_capabilities: Vec<String>,
pub estimated_payload_bytes: u64,
pub selection_fingerprint: String,
/* private fields */
}Expand description
Immutable deterministic preview consumed by both export representations.
Fields§
§source_generation_uuid: StringPinned source generation identity.
source_manifest_sha256: StringPinned source generation manifest identity.
package_class: StringPortable package class token.
included: Vec<PortableV2SelectionEntry>Included participants in canonical identity order.
excluded: Vec<PortableV2SelectionEntry>Excluded participants in canonical identity order.
projected: Vec<PortableV2ProjectedSelectionEntry>Exact projected ontology closure in canonical identity order.
redactions: Vec<String>Explicit redaction reason codes; values are never retained.
required_capabilities: Vec<String>Required portable capability contracts.
estimated_payload_bytes: u64Exact known participant bytes, excluding bounded control metadata.
selection_fingerprint: StringStable digest over canonical content-free plan metadata.
Implementations§
Source§impl PortableV2SelectionPlan
impl PortableV2SelectionPlan
Sourcepub fn new(
source_generation_uuid: String,
source_manifest_sha256: String,
package_class: String,
included: Vec<PortableV2SelectionEntry>,
excluded: Vec<PortableV2SelectionEntry>,
projected: Vec<PortableV2ProjectedSelectionEntry>,
redactions: Vec<String>,
required_capabilities: Vec<String>,
estimated_payload_bytes: u64,
selection_fingerprint: String,
include_graph_tree: bool,
) -> Self
pub fn new( source_generation_uuid: String, source_manifest_sha256: String, package_class: String, included: Vec<PortableV2SelectionEntry>, excluded: Vec<PortableV2SelectionEntry>, projected: Vec<PortableV2ProjectedSelectionEntry>, redactions: Vec<String>, required_capabilities: Vec<String>, estimated_payload_bytes: u64, selection_fingerprint: String, include_graph_tree: bool, ) -> Self
Construct a passive preview; this does not authorize storage execution.
Sourcepub fn includes_graph_tree(&self) -> bool
pub fn includes_graph_tree(&self) -> bool
Whether the semantic selection includes the graph tree.
Sourcepub fn set_include_graph_tree(&mut self, include: bool)
pub fn set_include_graph_tree(&mut self, include: bool)
Set the semantic graph-tree selection for a projected preview.
Trait Implementations§
Source§impl Clone for PortableV2SelectionPlan
impl Clone for PortableV2SelectionPlan
Source§impl Debug for PortableV2SelectionPlan
impl Debug for PortableV2SelectionPlan
impl Eq for PortableV2SelectionPlan
Source§impl PartialEq for PortableV2SelectionPlan
impl PartialEq for PortableV2SelectionPlan
Source§impl Serialize for PortableV2SelectionPlan
impl Serialize for PortableV2SelectionPlan
impl StructuralPartialEq for PortableV2SelectionPlan
Auto Trait Implementations§
impl Freeze for PortableV2SelectionPlan
impl RefUnwindSafe for PortableV2SelectionPlan
impl Send for PortableV2SelectionPlan
impl Sync for PortableV2SelectionPlan
impl Unpin for PortableV2SelectionPlan
impl UnsafeUnpin for PortableV2SelectionPlan
impl UnwindSafe for PortableV2SelectionPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.