pub enum AuthorizationScope {
Global,
Ceremony {
ceremony_id: CeremonyId,
},
CeremonyTree {
root_id: CeremonyId,
},
ResolvedCeremony {
ceremony_id: CeremonyId,
root_id: CeremonyId,
},
Definition {
name: CeremonyName,
version: Option<CeremonyVersion>,
},
Artifact {
artifact_id: ArtifactId,
},
Council {
council_id: CouncilId,
},
Budget {
account_id: BudgetAccountId,
},
}Variants§
Global
Ceremony
Fields
§
ceremony_id: CeremonyIdCeremonyTree
Fields
§
root_id: CeremonyIdResolvedCeremony
Authoritative lineage resolved by the application before policy evaluation. This scope is request-only and cannot be issued as a grant.
Definition
Artifact
Fields
§
artifact_id: ArtifactIdCouncil
Budget
Fields
§
account_id: BudgetAccountIdImplementations§
Trait Implementations§
Source§impl Clone for AuthorizationScope
impl Clone for AuthorizationScope
Source§impl Debug for AuthorizationScope
impl Debug for AuthorizationScope
Source§impl<'de> Deserialize<'de> for AuthorizationScope
impl<'de> Deserialize<'de> for AuthorizationScope
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 AuthorizationScope
Source§impl PartialEq for AuthorizationScope
impl PartialEq for AuthorizationScope
Source§impl Serialize for AuthorizationScope
impl Serialize for AuthorizationScope
impl StructuralPartialEq for AuthorizationScope
Auto Trait Implementations§
impl Freeze for AuthorizationScope
impl RefUnwindSafe for AuthorizationScope
impl Send for AuthorizationScope
impl Sync for AuthorizationScope
impl Unpin for AuthorizationScope
impl UnsafeUnpin for AuthorizationScope
impl UnwindSafe for AuthorizationScope
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