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 Clone for SessionContentExclusionCheckPathsResult
impl Clone for SessionContentExclusionCheckPathsResult
Source§fn clone(&self) -> SessionContentExclusionCheckPathsResult
fn clone(&self) -> SessionContentExclusionCheckPathsResult
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 moreSource§impl Default for SessionContentExclusionCheckPathsResult
impl Default for SessionContentExclusionCheckPathsResult
Source§fn default() -> SessionContentExclusionCheckPathsResult
fn default() -> SessionContentExclusionCheckPathsResult
Returns the “default value” for a type. Read more
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