Struct rushmap_core::result::PingResult
source · pub struct PingResult {
pub probe_id: String,
pub stat: PingStat,
pub probe_status: ProbeStatus,
pub start_time: String,
pub end_time: String,
pub elapsed_time: u64,
pub protocol: IpNextLevelProtocol,
pub command_type: CommandType,
}
Fields§
§probe_id: String
§stat: PingStat
§probe_status: ProbeStatus
§start_time: String
start-time in RFC 3339 and ISO 8601 date and time string
end_time: String
end-time in RFC 3339 and ISO 8601 date and time string
elapsed_time: u64
Elapsed time in milliseconds
protocol: IpNextLevelProtocol
§command_type: CommandType
Implementations§
source§impl PingResult
impl PingResult
pub fn new() -> PingResult
Trait Implementations§
source§impl Clone for PingResult
impl Clone for PingResult
source§fn clone(&self) -> PingResult
fn clone(&self) -> PingResult
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 PingResult
impl Debug for PingResult
source§impl<'de> Deserialize<'de> for PingResult
impl<'de> Deserialize<'de> for PingResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PingResult
impl Send for PingResult
impl Sync for PingResult
impl Unpin for PingResult
impl UnwindSafe for PingResult
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