pub struct PermissionTally {
pub asked: u32,
pub allowed: u32,
pub waited: u32,
pub refused: u32,
pub reported: u32,
}Expand description
What speccoder decided of an external agent’s calls.
Fields§
§asked: u32Calls decided (its permission requests, files and commands).
allowed: u32Of them, allowed (by a rule or a person’s grant).
waited: u32Of them, decided by a person (or waiting for one).
refused: u32Of them, refused.
reported: u32Calls the agent reported making, asked about or not (its claim).
Trait Implementations§
Source§impl Clone for PermissionTally
impl Clone for PermissionTally
impl Copy for PermissionTally
Source§impl Debug for PermissionTally
impl Debug for PermissionTally
Source§impl Default for PermissionTally
impl Default for PermissionTally
impl Eq for PermissionTally
Source§impl JsonSchema for PermissionTally
impl JsonSchema for PermissionTally
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§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PermissionTally
impl PartialEq for PermissionTally
Source§impl Serialize for PermissionTally
impl Serialize for PermissionTally
impl StructuralPartialEq for PermissionTally
Auto Trait Implementations§
impl Freeze for PermissionTally
impl RefUnwindSafe for PermissionTally
impl Send for PermissionTally
impl Sync for PermissionTally
impl Unpin for PermissionTally
impl UnsafeUnpin for PermissionTally
impl UnwindSafe for PermissionTally
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