pub struct RouteSecurityPosture {
pub csrf_mode: String,
pub trusted_origin_policy: String,
pub tenant_scope: String,
pub rate_limit_policy: String,
pub capability_policy: String,
}Expand description
Effective route security settings after contract compilation.
§Fields
csrf_mode: Stored field onRouteSecurityPosture.trusted_origin_policy: Stored field onRouteSecurityPosture.tenant_scope: Stored field onRouteSecurityPosture.rate_limit_policy: Stored field onRouteSecurityPosture.capability_policy: Stored field onRouteSecurityPosture.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_core::application_ir::RouteSecurityPosture>();§Related
crate::application_irfor constructors, helpers, and neighboring runtime types.
Fields§
§csrf_mode: String§trusted_origin_policy: String§tenant_scope: String§rate_limit_policy: String§capability_policy: StringTrait Implementations§
Source§impl Clone for RouteSecurityPosture
impl Clone for RouteSecurityPosture
Source§fn clone(&self) -> RouteSecurityPosture
fn clone(&self) -> RouteSecurityPosture
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 Debug for RouteSecurityPosture
impl Debug for RouteSecurityPosture
Source§impl PartialEq for RouteSecurityPosture
impl PartialEq for RouteSecurityPosture
Source§fn eq(&self, other: &RouteSecurityPosture) -> bool
fn eq(&self, other: &RouteSecurityPosture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RouteSecurityPosture
impl StructuralPartialEq for RouteSecurityPosture
Auto Trait Implementations§
impl Freeze for RouteSecurityPosture
impl RefUnwindSafe for RouteSecurityPosture
impl Send for RouteSecurityPosture
impl Sync for RouteSecurityPosture
impl Unpin for RouteSecurityPosture
impl UnsafeUnpin for RouteSecurityPosture
impl UnwindSafe for RouteSecurityPosture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.