Struct ApplicationExportSelectionV1
pub struct ApplicationExportSelectionV1 { /* private fields */ }Expand description
Exact caller-selected subset of one current V5 lineage grant.
Implementations§
§impl ApplicationExportSelectionV1
impl ApplicationExportSelectionV1
pub fn new(
lineage: ContractLineage,
scope: CapabilityApplicationExportScopeV1,
entities: bool,
events: bool,
provenance: bool,
public_audit: bool,
) -> Result<ApplicationExportSelectionV1, ApplicationExportValueError>
pub fn new( lineage: ContractLineage, scope: CapabilityApplicationExportScopeV1, entities: bool, events: bool, provenance: bool, public_audit: bool, ) -> Result<ApplicationExportSelectionV1, ApplicationExportValueError>
Constructs one closed selection. Supporting records cannot stand alone.
pub const fn lineage(&self) -> &ContractLineage
pub const fn lineage(&self) -> &ContractLineage
Selected exact application lineage.
pub const fn scope(&self) -> CapabilityApplicationExportScopeV1
pub const fn scope(&self) -> CapabilityApplicationExportScopeV1
Selected policy-filtered or whole-application scope.
pub const fn provenance(&self) -> bool
pub const fn provenance(&self) -> bool
Whether separately authorized provenance is selected.
pub const fn public_audit(&self) -> bool
pub const fn public_audit(&self) -> bool
Whether separately authorized public-safe audit is selected.
Trait Implementations§
§impl Clone for ApplicationExportSelectionV1
impl Clone for ApplicationExportSelectionV1
§fn clone(&self) -> ApplicationExportSelectionV1
fn clone(&self) -> ApplicationExportSelectionV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ApplicationExportSelectionV1
impl Debug for ApplicationExportSelectionV1
impl Eq for ApplicationExportSelectionV1
§impl PartialEq for ApplicationExportSelectionV1
impl PartialEq for ApplicationExportSelectionV1
§fn eq(&self, other: &ApplicationExportSelectionV1) -> bool
fn eq(&self, other: &ApplicationExportSelectionV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplicationExportSelectionV1
Auto Trait Implementations§
impl !RefUnwindSafe for ApplicationExportSelectionV1
impl !UnwindSafe for ApplicationExportSelectionV1
impl Freeze for ApplicationExportSelectionV1
impl Send for ApplicationExportSelectionV1
impl Sync for ApplicationExportSelectionV1
impl Unpin for ApplicationExportSelectionV1
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].