pub struct SecurityWiringSnapshot {
pub risk_chain_accumulator: bool,
pub mage_accumulator_enabled: bool,
pub typed_pages_state: bool,
pub shadow_sentinel: bool,
pub vigil_config: bool,
pub hooks_config: bool,
pub mcp_tool_ids_handle: bool,
pub llm_classifier: bool,
}Expand description
Bool snapshot of which security-relevant AgentBuilder setters have been applied.
Returned by Agent::security_wiring_snapshot — see that method’s doc comment for which
setters are (and are deliberately not) represented here.
Fields§
§risk_chain_accumulator: booltrue when Agent::with_risk_chain_accumulator has been called.
mage_accumulator_enabled: booltrue when Agent::with_mage_accumulator_config installed a live (non-noop)
accumulator.
typed_pages_state: booltrue when Agent::with_typed_pages_state was called with Some.
shadow_sentinel: booltrue when Agent::with_shadow_sentinel has been called.
vigil_config: booltrue when Agent::with_vigil_config attached a VigilGate.
hooks_config: booltrue when Agent::with_hooks_config was called with a non-empty HooksConfig.
mcp_tool_ids_handle: booltrue when Agent::with_mcp_tool_ids_handle has been called.
llm_classifier: booltrue when Agent::with_llm_classifier has been called.
Trait Implementations§
Source§impl Clone for SecurityWiringSnapshot
impl Clone for SecurityWiringSnapshot
Source§fn clone(&self) -> SecurityWiringSnapshot
fn clone(&self) -> SecurityWiringSnapshot
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 SecurityWiringSnapshot
Source§impl Debug for SecurityWiringSnapshot
impl Debug for SecurityWiringSnapshot
impl Eq for SecurityWiringSnapshot
Source§impl PartialEq for SecurityWiringSnapshot
impl PartialEq for SecurityWiringSnapshot
impl StructuralPartialEq for SecurityWiringSnapshot
Auto Trait Implementations§
impl Freeze for SecurityWiringSnapshot
impl RefUnwindSafe for SecurityWiringSnapshot
impl Send for SecurityWiringSnapshot
impl Sync for SecurityWiringSnapshot
impl Unpin for SecurityWiringSnapshot
impl UnsafeUnpin for SecurityWiringSnapshot
impl UnwindSafe for SecurityWiringSnapshot
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§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<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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request