pub struct CallPolicyInfo {
pub lenient_this: bool,
pub needs_security_check_on_interface_match: bool,
}Expand description
Controls various details of an IDL operation, such as whether a
[LegacyLenientThis] attribute is specified and preconditions that
affect the outcome of the “perform a security check” steps.
Fields§
§lenient_this: boolSpecifies whether a [LegacyLenientThis] attribute is specified on the
interface member this operation is associated with.
needs_security_check_on_interface_match: boolIndicates whether a security check is required if the target object implements this operation’s interface.
Regardless of this value, performing a security check is always necessary if the target object doesn’t implement this operation’s interface.
This field is false iff any of the following are true:
-
The operation is not implemented by any cross-origin objects (i.e., any
WindoworLocationobjects). -
The operation is defined as cross origin (i.e., it’s included in
CrossOriginProperties(obj), givenobjimplementing the operation’s interface).
Trait Implementations§
Source§impl Clone for CallPolicyInfo
impl Clone for CallPolicyInfo
Source§fn clone(&self) -> CallPolicyInfo
fn clone(&self) -> CallPolicyInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for CallPolicyInfo
impl PartialEq for CallPolicyInfo
impl Copy for CallPolicyInfo
impl Eq for CallPolicyInfo
impl StructuralPartialEq for CallPolicyInfo
Auto Trait Implementations§
impl Freeze for CallPolicyInfo
impl RefUnwindSafe for CallPolicyInfo
impl Send for CallPolicyInfo
impl Sync for CallPolicyInfo
impl Unpin for CallPolicyInfo
impl UnwindSafe for CallPolicyInfo
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
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
key and return true if they are equal.Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more