pub struct CapabilityExportGrantV1 { /* private fields */ }Expand description
Complete canonical V1 application-export authority extension.
Implementations§
Source§impl CapabilityExportGrantV1
impl CapabilityExportGrantV1
Sourcepub fn new(
applications: Vec<CapabilityApplicationExportGrantV1>,
) -> Result<Self, CapabilityGrantError>
pub fn new( applications: Vec<CapabilityApplicationExportGrantV1>, ) -> Result<Self, CapabilityGrantError>
Constructs one bounded lineage-ordered extension.
Sourcepub fn applications(&self) -> &[CapabilityApplicationExportGrantV1]
pub fn applications(&self) -> &[CapabilityApplicationExportGrantV1]
Canonical lineage-ordered export grants.
Sourcepub fn is_narrowing_of(&self, parent: &Self, child_has_row_policy: bool) -> bool
pub fn is_narrowing_of(&self, parent: &Self, child_has_row_policy: bool) -> bool
True only when every child lineage, scope, and class is equal or narrower.
Trait Implementations§
Source§impl Clone for CapabilityExportGrantV1
impl Clone for CapabilityExportGrantV1
Source§impl Debug for CapabilityExportGrantV1
impl Debug for CapabilityExportGrantV1
impl Eq for CapabilityExportGrantV1
Source§impl PartialEq for CapabilityExportGrantV1
impl PartialEq for CapabilityExportGrantV1
impl StructuralPartialEq for CapabilityExportGrantV1
Auto Trait Implementations§
impl Freeze for CapabilityExportGrantV1
impl RefUnwindSafe for CapabilityExportGrantV1
impl Send for CapabilityExportGrantV1
impl Sync for CapabilityExportGrantV1
impl Unpin for CapabilityExportGrantV1
impl UnsafeUnpin for CapabilityExportGrantV1
impl UnwindSafe for CapabilityExportGrantV1
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