pub struct TabIpcConfig {
pub allowed_origins: Vec<String>,
}Expand description
Chromium-facing IPC config.
Fields§
§allowed_origins: Vec<String>Allowed top-level origins for page -> host invoke.
The match is exact string equality on origin. If empty, invoke is denied.
Trait Implementations§
Source§impl Clone for TabIpcConfig
impl Clone for TabIpcConfig
Source§fn clone(&self) -> TabIpcConfig
fn clone(&self) -> TabIpcConfig
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 TabIpcConfig
impl Debug for TabIpcConfig
Source§impl Default for TabIpcConfig
impl Default for TabIpcConfig
Source§fn default() -> TabIpcConfig
fn default() -> TabIpcConfig
Returns the “default value” for a type. Read more
Source§impl From<IpcConfig> for TabIpcConfig
impl From<IpcConfig> for TabIpcConfig
Source§impl From<TabIpcConfig> for IpcConfig
impl From<TabIpcConfig> for IpcConfig
Source§fn from(value: TabIpcConfig) -> Self
fn from(value: TabIpcConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TabIpcConfig
impl PartialEq for TabIpcConfig
impl Eq for TabIpcConfig
impl StructuralPartialEq for TabIpcConfig
Auto Trait Implementations§
impl Freeze for TabIpcConfig
impl RefUnwindSafe for TabIpcConfig
impl Send for TabIpcConfig
impl Sync for TabIpcConfig
impl Unpin for TabIpcConfig
impl UnsafeUnpin for TabIpcConfig
impl UnwindSafe for TabIpcConfig
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.