pub struct EndpointSecurity {
pub options: Option<EndpointSecurityOptions>,
pub tokens: Option<Vec<EndpointToken>>,
pub jwts: Option<Vec<EndpointJwt>>,
pub referrers: Option<Vec<EndpointReferrer>>,
pub domain_masks: Option<Vec<EndpointDomainMask>>,
pub ips: Option<Vec<EndpointIp>>,
pub request_filters: Option<Vec<EndpointRequestFilter>>,
}Expand description
Security configuration for an endpoint — the aggregate of tokens, JWTs, referrers, domain masks, IPs, and request filters plus their enabled toggles.
Fields§
§options: Option<EndpointSecurityOptions>Per-feature enabled/disabled toggles.
tokens: Option<Vec<EndpointToken>>Authentication tokens configured on the endpoint.
jwts: Option<Vec<EndpointJwt>>JWTs configured on the endpoint.
referrers: Option<Vec<EndpointReferrer>>Allowed referrer URLs/domains.
domain_masks: Option<Vec<EndpointDomainMask>>Configured domain masks.
ips: Option<Vec<EndpointIp>>Whitelisted IP addresses.
request_filters: Option<Vec<EndpointRequestFilter>>Request (method) filters.
Trait Implementations§
Source§impl Clone for EndpointSecurity
impl Clone for EndpointSecurity
Source§fn clone(&self) -> EndpointSecurity
fn clone(&self) -> EndpointSecurity
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 EndpointSecurity
impl Debug for EndpointSecurity
Source§impl<'de> Deserialize<'de> for EndpointSecurity
impl<'de> Deserialize<'de> for EndpointSecurity
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 EndpointSecurity
impl RefUnwindSafe for EndpointSecurity
impl Send for EndpointSecurity
impl Sync for EndpointSecurity
impl Unpin for EndpointSecurity
impl UnsafeUnpin for EndpointSecurity
impl UnwindSafe for EndpointSecurity
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