pub struct EndpointInfo {
pub config: EndpointConfig,
pub status: EndpointStatus,
pub created_at: SystemTime,
pub last_connected_at: Option<SystemTime>,
pub connection_info: Option<SystemInfo>,
}Expand description
端点信息
Fields§
§config: EndpointConfig端点配置
status: EndpointStatus端点状态
created_at: SystemTime创建时间
last_connected_at: Option<SystemTime>最后连接时间
connection_info: Option<SystemInfo>连接信息
Trait Implementations§
Source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
Source§fn clone(&self) -> EndpointInfo
fn clone(&self) -> EndpointInfo
Returns a duplicate 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 EndpointInfo
impl Debug for EndpointInfo
Source§impl<'de> Deserialize<'de> for EndpointInfo
impl<'de> Deserialize<'de> for EndpointInfo
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 Freeze for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnsafeUnpin for EndpointInfo
impl UnwindSafe for EndpointInfo
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