pub struct AdapterPolicy {
pub allowed_window_labels: BTreeSet<String>,
pub allowed_targets: BTreeSet<String>,
pub max_request_bytes: u32,
pub max_depth: u32,
pub redacted_field_keys: BTreeSet<String>,
}Expand description
Host-selected policy applied before any backend call.
Fields§
§allowed_window_labels: BTreeSet<String>§allowed_targets: BTreeSet<String>§max_request_bytes: u32§max_depth: u32§redacted_field_keys: BTreeSet<String>Implementations§
Trait Implementations§
Source§impl Clone for AdapterPolicy
impl Clone for AdapterPolicy
Source§fn clone(&self) -> AdapterPolicy
fn clone(&self) -> AdapterPolicy
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 AdapterPolicy
impl Debug for AdapterPolicy
Source§impl<'de> Deserialize<'de> for AdapterPolicy
impl<'de> Deserialize<'de> for AdapterPolicy
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
impl Eq for AdapterPolicy
Source§impl PartialEq for AdapterPolicy
impl PartialEq for AdapterPolicy
Source§impl Serialize for AdapterPolicy
impl Serialize for AdapterPolicy
impl StructuralPartialEq for AdapterPolicy
Auto Trait Implementations§
impl Freeze for AdapterPolicy
impl RefUnwindSafe for AdapterPolicy
impl Send for AdapterPolicy
impl Sync for AdapterPolicy
impl Unpin for AdapterPolicy
impl UnsafeUnpin for AdapterPolicy
impl UnwindSafe for AdapterPolicy
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<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.