pub enum MintScopeSource {
StaticScopes,
RequestedScope,
}Expand description
Where MintAuthorityDirective draws the requested child scope from when the
runtime computes the attenuation off the model path. The two cases are
mutually exclusive by construction, so a step can never feed the mint from two
sources at once.
Variants§
StaticScopes
Derive the child from the step’s static scopes: list (the common
in-graph case). The declared ceiling and the minted term share one source,
so they cannot drift.
RequestedScope
Derive the child from a runtime input named by requested_scope_from (the
dynamic case, e.g. an ops-desk-chosen scope). The mint fail-closes if the
requested scope exceeds the charter.
Trait Implementations§
Source§impl Clone for MintScopeSource
impl Clone for MintScopeSource
Source§fn clone(&self) -> MintScopeSource
fn clone(&self) -> MintScopeSource
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 moreimpl Copy for MintScopeSource
Source§impl Debug for MintScopeSource
impl Debug for MintScopeSource
Source§impl<'de> Deserialize<'de> for MintScopeSource
impl<'de> Deserialize<'de> for MintScopeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MintScopeSource
Source§impl PartialEq for MintScopeSource
impl PartialEq for MintScopeSource
Source§fn eq(&self, other: &MintScopeSource) -> bool
fn eq(&self, other: &MintScopeSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MintScopeSource
impl Serialize for MintScopeSource
impl StructuralPartialEq for MintScopeSource
Auto Trait Implementations§
impl Freeze for MintScopeSource
impl RefUnwindSafe for MintScopeSource
impl Send for MintScopeSource
impl Sync for MintScopeSource
impl Unpin for MintScopeSource
impl UnsafeUnpin for MintScopeSource
impl UnwindSafe for MintScopeSource
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.