pub struct RouteAccess {
pub verdict: RouteIpVerdict,
pub country_whitelist_matched: bool,
}Expand description
The combined route verdict of RouteIpGate::evaluate_access: the
reference check_route_ip_access result plus the skip flag the
reference derives from the route’s country verdict.
Fields§
§verdict: RouteIpVerdictDenied is the reference False, Allowed is True,
Unrestricted is None.
country_whitelist_matched: boolThe route country verdict was True (a configured route
whitelist_countries matched): the reference
_route_country_whitelist_matched, the skip_countries flag of the
global stage.
Trait Implementations§
Source§impl Clone for RouteAccess
impl Clone for RouteAccess
impl Copy for RouteAccess
Source§impl Debug for RouteAccess
impl Debug for RouteAccess
impl Eq for RouteAccess
Source§impl PartialEq for RouteAccess
impl PartialEq for RouteAccess
impl StructuralPartialEq for RouteAccess
Auto Trait Implementations§
impl Freeze for RouteAccess
impl RefUnwindSafe for RouteAccess
impl Send for RouteAccess
impl Sync for RouteAccess
impl Unpin for RouteAccess
impl UnsafeUnpin for RouteAccess
impl UnwindSafe for RouteAccess
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.