pub struct RuntimeResourceReport {
pub model: CapabilityRuntimeModel,
pub target: String,
pub requested: Vec<String>,
pub granted: Vec<String>,
pub denied: Vec<String>,
}Expand description
Runtime resource policy report for one target.
Fields§
§model: CapabilityRuntimeModelRuntime model used for the decision.
target: StringTarget whose resource handles were evaluated.
requested: Vec<String>Resource handles requested by the target.
granted: Vec<String>Requested resource handles granted by policy.
denied: Vec<String>Requested resource handles denied by policy.
Trait Implementations§
Source§impl Clone for RuntimeResourceReport
impl Clone for RuntimeResourceReport
Source§fn clone(&self) -> RuntimeResourceReport
fn clone(&self) -> RuntimeResourceReport
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 RuntimeResourceReport
impl Debug for RuntimeResourceReport
Source§impl<'de> Deserialize<'de> for RuntimeResourceReport
impl<'de> Deserialize<'de> for RuntimeResourceReport
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 RuntimeResourceReport
Source§impl PartialEq for RuntimeResourceReport
impl PartialEq for RuntimeResourceReport
Source§fn eq(&self, other: &RuntimeResourceReport) -> bool
fn eq(&self, other: &RuntimeResourceReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeResourceReport
impl Serialize for RuntimeResourceReport
impl StructuralPartialEq for RuntimeResourceReport
Auto Trait Implementations§
impl Freeze for RuntimeResourceReport
impl RefUnwindSafe for RuntimeResourceReport
impl Send for RuntimeResourceReport
impl Sync for RuntimeResourceReport
impl Unpin for RuntimeResourceReport
impl UnsafeUnpin for RuntimeResourceReport
impl UnwindSafe for RuntimeResourceReport
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§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.