pub struct BoundaryCallsConfig {
pub forbidden: Vec<ForbiddenCallRule>,
}Expand description
Boundary forbidden-call policy. Applies only to files classified into a zone; unzoned files are unrestricted, matching the import rules.
Fields§
§forbidden: Vec<ForbiddenCallRule>Callee patterns that files in a zone may not call.
Implementations§
Trait Implementations§
Source§impl Clone for BoundaryCallsConfig
impl Clone for BoundaryCallsConfig
Source§impl Debug for BoundaryCallsConfig
impl Debug for BoundaryCallsConfig
Source§impl Default for BoundaryCallsConfig
impl Default for BoundaryCallsConfig
Source§impl<'de> Deserialize<'de> for BoundaryCallsConfig
impl<'de> Deserialize<'de> for BoundaryCallsConfig
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 BoundaryCallsConfig
impl JsonSchema for BoundaryCallsConfig
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 BoundaryCallsConfig
impl RefUnwindSafe for BoundaryCallsConfig
impl Send for BoundaryCallsConfig
impl Sync for BoundaryCallsConfig
impl Unpin for BoundaryCallsConfig
impl UnsafeUnpin for BoundaryCallsConfig
impl UnwindSafe for BoundaryCallsConfig
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