pub struct TestOptions {
pub skip_v4: bool,
pub skip_v6: bool,
pub skip_origin: bool,
pub origin_value: String,
pub chase_referral: bool,
pub expect_extensions: Vec<String>,
pub expect_groups: Vec<ExtensionGroup>,
pub allow_unregistered_extensions: bool,
pub one_addr: bool,
pub dns_resolver: Option<String>,
}Fields§
§skip_v4: bool§skip_v6: bool§skip_origin: bool§origin_value: String§chase_referral: bool§expect_extensions: Vec<String>§expect_groups: Vec<ExtensionGroup>§allow_unregistered_extensions: bool§one_addr: bool§dns_resolver: Option<String>Trait Implementations§
Source§impl Default for TestOptions
impl Default for TestOptions
Source§fn default() -> TestOptions
fn default() -> TestOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestOptions
impl RefUnwindSafe for TestOptions
impl Send for TestOptions
impl Sync for TestOptions
impl Unpin for TestOptions
impl UnwindSafe for TestOptions
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