pub struct DetectionEndpoint {
pub name: &'static str,
pub url: &'static str,
pub expected_status: Option<u16>,
}Fields§
§name: &'static str§url: &'static str§expected_status: Option<u16>Trait Implementations§
Source§impl Clone for DetectionEndpoint
impl Clone for DetectionEndpoint
Source§fn clone(&self) -> DetectionEndpoint
fn clone(&self) -> DetectionEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DetectionEndpoint
impl RefUnwindSafe for DetectionEndpoint
impl Send for DetectionEndpoint
impl Sync for DetectionEndpoint
impl Unpin for DetectionEndpoint
impl UnsafeUnpin for DetectionEndpoint
impl UnwindSafe for DetectionEndpoint
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