pub struct NetHttpSpec {
pub hosts: Vec<String>,
}Expand description
Outbound HTTP host allow-list (normalized and pinned at install time).
Wire form net:http; extra fields rejected (strict oneOf law).
Fields§
§hosts: Vec<String>Outbound HTTP hosts; off-list hosts are rejected at request time.
Trait Implementations§
Source§impl Clone for NetHttpSpec
impl Clone for NetHttpSpec
Source§impl Debug for NetHttpSpec
impl Debug for NetHttpSpec
impl Eq for NetHttpSpec
Source§impl PartialEq for NetHttpSpec
impl PartialEq for NetHttpSpec
impl StructuralPartialEq for NetHttpSpec
Auto Trait Implementations§
impl Freeze for NetHttpSpec
impl RefUnwindSafe for NetHttpSpec
impl Send for NetHttpSpec
impl Sync for NetHttpSpec
impl Unpin for NetHttpSpec
impl UnsafeUnpin for NetHttpSpec
impl UnwindSafe for NetHttpSpec
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