pub struct SecurityCategories {
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
}Expand description
Include/exclude lists scoping the active security categories. When include
is set, only those categories are active; exclude removes categories from
the admitted set. Both unset admits catalogue categories. hardcoded-secret
still requires explicit inclusion.
Fields§
§include: Option<Vec<String>>Catalogue category ids to admit. When set, all others are excluded.
exclude: Option<Vec<String>>Catalogue category ids to remove from the admitted set.
Trait Implementations§
Source§impl Clone for SecurityCategories
impl Clone for SecurityCategories
Source§impl Debug for SecurityCategories
impl Debug for SecurityCategories
Source§impl Default for SecurityCategories
impl Default for SecurityCategories
Source§impl<'de> Deserialize<'de> for SecurityCategories
impl<'de> Deserialize<'de> for SecurityCategories
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
Source§impl JsonSchema for SecurityCategories
impl JsonSchema for SecurityCategories
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SecurityCategories
impl RefUnwindSafe for SecurityCategories
impl Send for SecurityCategories
impl Sync for SecurityCategories
impl Unpin for SecurityCategories
impl UnsafeUnpin for SecurityCategories
impl UnwindSafe for SecurityCategories
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