pub struct TestRun {
pub features: Vec<RunFeature>,
pub socket_addr: SocketAddr,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
pub response_data: Option<ResponseData>,
pub outcome: RunOutcome,
pub checks: Option<Checks>,
}Fields§
§features: Vec<RunFeature>§socket_addr: SocketAddr§start_time: DateTime<Utc>§end_time: Option<DateTime<Utc>>§response_data: Option<ResponseData>§outcome: RunOutcome§checks: Option<Checks>Implementations§
Source§impl TestRun
impl TestRun
pub fn new_v4(features: Vec<RunFeature>, ipv4: Ipv4Addr, port: u16) -> Self
pub fn new_v6(features: Vec<RunFeature>, ipv6: Ipv6Addr, port: u16) -> Self
pub fn end( self, rdap_response: Result<ResponseData, RdapClientError>, options: &TestOptions, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestRun
impl RefUnwindSafe for TestRun
impl Send for TestRun
impl Sync for TestRun
impl Unpin for TestRun
impl UnwindSafe for TestRun
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