pub struct WebConfig {
pub allowed_hosts: Vec<String>,
pub silent_allowed_hosts: Vec<String>,
pub search: WebSearchConfig,
}Expand description
Administrator-controlled web research boundaries.
Fields§
§allowed_hosts: Vec<String>Exact hosts or one-label wildcards such as *.example.com.
silent_allowed_hosts: Vec<String>Allowed hosts that do not need per-call approval.
search: WebSearchConfigTrait Implementations§
impl Eq for WebConfig
impl StructuralPartialEq for WebConfig
Auto Trait Implementations§
impl Forget for WebConfig
impl Freeze for WebConfig
impl Move for WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfigwhere
RawVecInner: Send,
impl Sync for WebConfigwhere
RawVecInner: Sync,
impl Unpin for WebConfig
impl UnsafeUnpin for WebConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for WebConfigwhere
RawVecInner: UnwindSafe,
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