pub struct IoPolicy {
pub boundary_mode: String,
pub allow_ignore_gitignore: bool,
pub allow_secret_paths: bool,
pub redact_outputs: bool,
pub allow_cross_project_search: bool,
}Fields§
§boundary_mode: StringBoundary enforcement mode for sensitive I/O (warn|enforce).
allow_ignore_gitignore: boolAllow search to ignore .gitignore and scan everything.
allow_secret_paths: boolAllow reading/indexing secret-like paths (e.g. .env, *.pem).
redact_outputs: boolEnable output redaction for tool outputs (admin can disable; non-admin always on).
allow_cross_project_search: boolAllow cross-project knowledge search (default: false for non-admin roles).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IoPolicy
impl<'de> Deserialize<'de> for IoPolicy
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 IoPolicy
impl RefUnwindSafe for IoPolicy
impl Send for IoPolicy
impl Sync for IoPolicy
impl Unpin for IoPolicy
impl UnsafeUnpin for IoPolicy
impl UnwindSafe for IoPolicy
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,
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