pub struct PermissionEntry {
pub action: String,
pub policy_id: ContractId,
pub policy_label: String,
pub reason: String,
pub scope: String,
}Expand description
A single permission entry in an omniscience result.
Fields§
§action: StringThe action pattern.
policy_id: ContractIdThe policy granting/denying this.
policy_label: StringPolicy label.
reason: StringExplanation of why.
scope: StringScope of the permission.
Trait Implementations§
Source§impl Clone for PermissionEntry
impl Clone for PermissionEntry
Source§fn clone(&self) -> PermissionEntry
fn clone(&self) -> PermissionEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 PermissionEntry
impl Debug for PermissionEntry
Source§impl<'de> Deserialize<'de> for PermissionEntry
impl<'de> Deserialize<'de> for PermissionEntry
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
Auto Trait Implementations§
impl Freeze for PermissionEntry
impl RefUnwindSafe for PermissionEntry
impl Send for PermissionEntry
impl Sync for PermissionEntry
impl Unpin for PermissionEntry
impl UnsafeUnpin for PermissionEntry
impl UnwindSafe for PermissionEntry
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