pub struct FetchParameters {
pub interface_name: String,
pub domain: String,
pub ip: IpAddr,
pub path: String,
pub expected_statuses: Vec<u16>,
}
Fields§
§interface_name: String
The name of the interface sending the ping.
domain: String
The http domain, sent with the Host header to the server.
ip: IpAddr
The DNS Resolved IP address for the fetch server.
path: String
Path to send request to.
expected_statuses: Vec<u16>
The expected HTTP status codes.
Trait Implementations§
Source§impl Clone for FetchParameters
impl Clone for FetchParameters
Source§fn clone(&self) -> FetchParameters
fn clone(&self) -> FetchParameters
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for FetchParameters
impl RefUnwindSafe for FetchParameters
impl Send for FetchParameters
impl Sync for FetchParameters
impl Unpin for FetchParameters
impl UnwindSafe for FetchParameters
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)