pub struct ExecutionPermitId(pub String);Expand description
Opaque identifier for a runtime execution permit.
Minted only after policy, approval, and plan checks succeed for one concrete execution surface.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for ExecutionPermitId
impl AsRef<str> for ExecutionPermitId
Source§impl Clone for ExecutionPermitId
impl Clone for ExecutionPermitId
Source§fn clone(&self) -> ExecutionPermitId
fn clone(&self) -> ExecutionPermitId
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 moreSource§impl Debug for ExecutionPermitId
impl Debug for ExecutionPermitId
Source§impl<'de> Deserialize<'de> for ExecutionPermitId
impl<'de> Deserialize<'de> for ExecutionPermitId
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
Source§impl Display for ExecutionPermitId
impl Display for ExecutionPermitId
Source§impl From<&str> for ExecutionPermitId
impl From<&str> for ExecutionPermitId
Source§impl From<String> for ExecutionPermitId
impl From<String> for ExecutionPermitId
Source§impl FromStr for ExecutionPermitId
impl FromStr for ExecutionPermitId
Source§impl Hash for ExecutionPermitId
impl Hash for ExecutionPermitId
Source§impl JsonSchema for ExecutionPermitId
impl JsonSchema for ExecutionPermitId
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for ExecutionPermitId
impl Ord for ExecutionPermitId
Source§fn cmp(&self, other: &ExecutionPermitId) -> Ordering
fn cmp(&self, other: &ExecutionPermitId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecutionPermitId
impl PartialEq for ExecutionPermitId
Source§fn eq(&self, other: &ExecutionPermitId) -> bool
fn eq(&self, other: &ExecutionPermitId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExecutionPermitId
impl PartialOrd for ExecutionPermitId
Source§impl Serialize for ExecutionPermitId
impl Serialize for ExecutionPermitId
impl Eq for ExecutionPermitId
impl StructuralPartialEq for ExecutionPermitId
Auto Trait Implementations§
impl Freeze for ExecutionPermitId
impl RefUnwindSafe for ExecutionPermitId
impl Send for ExecutionPermitId
impl Sync for ExecutionPermitId
impl Unpin for ExecutionPermitId
impl UnsafeUnpin for ExecutionPermitId
impl UnwindSafe for ExecutionPermitId
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