pub struct CapabilityApplicationExportGrantV1 { /* private fields */ }Expand description
One explicit lineage, scope, and portable record-class export authority.
Implementations§
Source§impl CapabilityApplicationExportGrantV1
impl CapabilityApplicationExportGrantV1
Sourcepub fn new(
lineage: ContractLineage,
scope: CapabilityApplicationExportScopeV1,
entities: bool,
events: bool,
provenance: bool,
public_audit: bool,
) -> Result<Self, CapabilityGrantError>
pub fn new( lineage: ContractLineage, scope: CapabilityApplicationExportScopeV1, entities: bool, events: bool, provenance: bool, public_audit: bool, ) -> Result<Self, CapabilityGrantError>
Constructs one checked grant. Supporting records cannot be granted without at least one portable application-data class.
Sourcepub const fn lineage(&self) -> &ContractLineage
pub const fn lineage(&self) -> &ContractLineage
Exact symbolic application lineage.
Sourcepub const fn scope(&self) -> CapabilityApplicationExportScopeV1
pub const fn scope(&self) -> CapabilityApplicationExportScopeV1
Selected current-policy or whole-application authority class.
Sourcepub const fn provenance(&self) -> bool
pub const fn provenance(&self) -> bool
Whether separately protected provenance records may accompany the data.
Sourcepub const fn public_audit(&self) -> bool
pub const fn public_audit(&self) -> bool
Whether separately protected public-audit records may accompany the data.
Trait Implementations§
impl Eq for CapabilityApplicationExportGrantV1
impl StructuralPartialEq for CapabilityApplicationExportGrantV1
Auto Trait Implementations§
impl Freeze for CapabilityApplicationExportGrantV1
impl RefUnwindSafe for CapabilityApplicationExportGrantV1
impl Send for CapabilityApplicationExportGrantV1
impl Sync for CapabilityApplicationExportGrantV1
impl Unpin for CapabilityApplicationExportGrantV1
impl UnsafeUnpin for CapabilityApplicationExportGrantV1
impl UnwindSafe for CapabilityApplicationExportGrantV1
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