pub struct ApplicationExportSelectionV1 { /* private fields */ }Expand description
Exact caller-selected subset of one current V5 lineage grant.
Implementations§
Source§impl ApplicationExportSelectionV1
impl ApplicationExportSelectionV1
Sourcepub fn new(
lineage: ContractLineage,
scope: CapabilityApplicationExportScopeV1,
entities: bool,
events: bool,
provenance: bool,
public_audit: bool,
) -> Result<Self, ApplicationExportValueError>
pub fn new( lineage: ContractLineage, scope: CapabilityApplicationExportScopeV1, entities: bool, events: bool, provenance: bool, public_audit: bool, ) -> Result<Self, ApplicationExportValueError>
Constructs one closed selection. Supporting records cannot stand alone.
Sourcepub const fn lineage(&self) -> &ContractLineage
pub const fn lineage(&self) -> &ContractLineage
Selected exact application lineage.
Sourcepub const fn scope(&self) -> CapabilityApplicationExportScopeV1
pub const fn scope(&self) -> CapabilityApplicationExportScopeV1
Selected policy-filtered or whole-application scope.
Sourcepub const fn provenance(&self) -> bool
pub const fn provenance(&self) -> bool
Whether separately authorized provenance is selected.
Sourcepub const fn public_audit(&self) -> bool
pub const fn public_audit(&self) -> bool
Whether separately authorized public-safe audit is selected.
Sourcepub const fn includes(&self, class: ApplicationExportClassV1) -> bool
pub const fn includes(&self, class: ApplicationExportClassV1) -> bool
True only when this operation selected the class explicitly.
Trait Implementations§
Source§impl Clone for ApplicationExportSelectionV1
impl Clone for ApplicationExportSelectionV1
Source§impl Debug for ApplicationExportSelectionV1
impl Debug for ApplicationExportSelectionV1
impl Eq for ApplicationExportSelectionV1
impl StructuralPartialEq for ApplicationExportSelectionV1
Auto Trait Implementations§
impl Freeze for ApplicationExportSelectionV1
impl RefUnwindSafe for ApplicationExportSelectionV1
impl Send for ApplicationExportSelectionV1
impl Sync for ApplicationExportSelectionV1
impl Unpin for ApplicationExportSelectionV1
impl UnsafeUnpin for ApplicationExportSelectionV1
impl UnwindSafe for ApplicationExportSelectionV1
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