pub struct SessionContentExclusionCheckPathsResult {
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 SessionContentExclusionCheckPathsResult
impl<'de> Deserialize<'de> for SessionContentExclusionCheckPathsResult
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 SessionContentExclusionCheckPathsResult
impl RefUnwindSafe for SessionContentExclusionCheckPathsResult
impl Send for SessionContentExclusionCheckPathsResult
impl Sync for SessionContentExclusionCheckPathsResult
impl Unpin for SessionContentExclusionCheckPathsResult
impl UnsafeUnpin for SessionContentExclusionCheckPathsResult
impl UnwindSafe for SessionContentExclusionCheckPathsResult
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