pub struct ProvisionerPolicyTemplate {
pub cost_table: Arc<CostTable>,
pub limits: ResolvedLimits,
pub permissions: PermissionBits,
pub policy_revision: PolicyRevision,
}Expand description
The exact policy an operator permits a provisioner to publish.
Runtime binding, validity and store-owned fields are not template inputs. Strict enforcement is mandatory even when a template otherwise matches.
Fields§
§cost_table: Arc<CostTable>Complete pricing schedule, including per-operation permissions.
limits: ResolvedLimitsEvery shape, rate, compatibility and concurrency limit.
permissions: PermissionBitsRoutes/work the credential may access.
policy_revision: PolicyRevisionPolicy attribution must name the approved policy too.
Trait Implementations§
Source§impl Clone for ProvisionerPolicyTemplate
impl Clone for ProvisionerPolicyTemplate
Source§impl Debug for ProvisionerPolicyTemplate
impl Debug for ProvisionerPolicyTemplate
Source§impl<'de> Deserialize<'de> for ProvisionerPolicyTemplate
impl<'de> Deserialize<'de> for ProvisionerPolicyTemplate
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 ProvisionerPolicyTemplate
impl StructuralPartialEq for ProvisionerPolicyTemplate
Auto Trait Implementations§
impl Freeze for ProvisionerPolicyTemplate
impl RefUnwindSafe for ProvisionerPolicyTemplate
impl Send for ProvisionerPolicyTemplate
impl Sync for ProvisionerPolicyTemplate
impl Unpin for ProvisionerPolicyTemplate
impl UnsafeUnpin for ProvisionerPolicyTemplate
impl UnwindSafe for ProvisionerPolicyTemplate
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