pub struct ContentExclusionCheckPathsResult {
pub available: bool,
pub checks: Vec<ContentExclusionPathCheck>,
}Expand description
Batch content-exclusion result. Callers must fail closed when policy evaluation is unavailable.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§available: boolWhether the session’s policy service was available for the complete batch. When false, checks is empty and callers must treat every requested path as excluded.
checks: Vec<ContentExclusionPathCheck>Per-path decisions in request order. Empty when available is false.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentExclusionCheckPathsResult
impl<'de> Deserialize<'de> for ContentExclusionCheckPathsResult
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 ContentExclusionCheckPathsResult
impl RefUnwindSafe for ContentExclusionCheckPathsResult
impl Send for ContentExclusionCheckPathsResult
impl Sync for ContentExclusionCheckPathsResult
impl Unpin for ContentExclusionCheckPathsResult
impl UnsafeUnpin for ContentExclusionCheckPathsResult
impl UnwindSafe for ContentExclusionCheckPathsResult
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