#[non_exhaustive]pub struct TestConnectionOutput {
pub connection: Option<Connection>,
/* private fields */
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connection: Option<Connection>
The connection tested.
Implementations§
source§impl TestConnectionOutput
impl TestConnectionOutput
sourcepub fn connection(&self) -> Option<&Connection>
pub fn connection(&self) -> Option<&Connection>
The connection tested.
source§impl TestConnectionOutput
impl TestConnectionOutput
sourcepub fn builder() -> TestConnectionOutputBuilder
pub fn builder() -> TestConnectionOutputBuilder
Creates a new builder-style object to manufacture TestConnectionOutput
.
Trait Implementations§
source§impl Clone for TestConnectionOutput
impl Clone for TestConnectionOutput
source§fn clone(&self) -> TestConnectionOutput
fn clone(&self) -> TestConnectionOutput
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 moresource§impl Debug for TestConnectionOutput
impl Debug for TestConnectionOutput
source§impl PartialEq<TestConnectionOutput> for TestConnectionOutput
impl PartialEq<TestConnectionOutput> for TestConnectionOutput
source§fn eq(&self, other: &TestConnectionOutput) -> bool
fn eq(&self, other: &TestConnectionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for TestConnectionOutput
impl RequestId for TestConnectionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for TestConnectionOutput
Auto Trait Implementations§
impl RefUnwindSafe for TestConnectionOutput
impl Send for TestConnectionOutput
impl Sync for TestConnectionOutput
impl Unpin for TestConnectionOutput
impl UnwindSafe for TestConnectionOutput
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