pub struct GrantedCapabilities {
pub private_data_access: bool,
pub external_comms: bool,
}Expand description
Capabilities granted to a turn that cannot yet be derived from the tagged event substrate alone — they require knowledge of the live tool catalog.
This foundation reads the untrusted-content leg from the event trust tags directly; classifying which granted tools constitute private-data access or an external-comms channel is the deferred enforcement work, so those two legs are supplied explicitly here.
Fields§
§private_data_access: boolA granted tool can read private/sensitive data.
external_comms: boolA granted tool can communicate externally.
Trait Implementations§
Source§impl Clone for GrantedCapabilities
impl Clone for GrantedCapabilities
Source§fn clone(&self) -> GrantedCapabilities
fn clone(&self) -> GrantedCapabilities
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 moreimpl Copy for GrantedCapabilities
Source§impl Debug for GrantedCapabilities
impl Debug for GrantedCapabilities
Source§impl Default for GrantedCapabilities
impl Default for GrantedCapabilities
Source§fn default() -> GrantedCapabilities
fn default() -> GrantedCapabilities
Returns the “default value” for a type. Read more
impl Eq for GrantedCapabilities
Source§impl PartialEq for GrantedCapabilities
impl PartialEq for GrantedCapabilities
impl StructuralPartialEq for GrantedCapabilities
Auto Trait Implementations§
impl Freeze for GrantedCapabilities
impl RefUnwindSafe for GrantedCapabilities
impl Send for GrantedCapabilities
impl Sync for GrantedCapabilities
impl Unpin for GrantedCapabilities
impl UnsafeUnpin for GrantedCapabilities
impl UnwindSafe for GrantedCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more