pub struct UrlAccessConfig {
pub block_private_ip: bool,
pub allow_cidrs: Vec<String>,
pub allow_domains: Vec<String>,
pub allow_loopback: bool,
pub require_first_visit_approval: bool,
pub enforce_domain_allowlist: bool,
pub domain_allowlist: Vec<String>,
pub domain_blocklist: Vec<String>,
pub approved_domains: Vec<String>,
}Fields§
§block_private_ip: bool§allow_cidrs: Vec<String>§allow_domains: Vec<String>§allow_loopback: bool§require_first_visit_approval: bool§enforce_domain_allowlist: bool§domain_allowlist: Vec<String>§domain_blocklist: Vec<String>§approved_domains: Vec<String>Trait Implementations§
Source§impl Clone for UrlAccessConfig
impl Clone for UrlAccessConfig
Source§fn clone(&self) -> UrlAccessConfig
fn clone(&self) -> UrlAccessConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 UrlAccessConfig
impl Debug for UrlAccessConfig
Source§impl Default for UrlAccessConfig
impl Default for UrlAccessConfig
Source§impl<'de> Deserialize<'de> for UrlAccessConfigwhere
UrlAccessConfig: Default,
impl<'de> Deserialize<'de> for UrlAccessConfigwhere
UrlAccessConfig: Default,
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 UrlAccessConfig
impl RefUnwindSafe for UrlAccessConfig
impl Send for UrlAccessConfig
impl Sync for UrlAccessConfig
impl Unpin for UrlAccessConfig
impl UnsafeUnpin for UrlAccessConfig
impl UnwindSafe for UrlAccessConfig
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