pub struct DiscoveryFile {
pub schema_version: u32,
pub instance_id: String,
pub session_id: String,
pub service_name: String,
pub service_version: Option<String>,
pub app_identifier: Option<String>,
pub pid: u32,
pub started_at: String,
pub database_path: String,
pub capabilities: Vec<String>,
pub last_heartbeat_at: String,
}Fields§
§schema_version: u32§instance_id: String§session_id: String§service_name: String§service_version: Option<String>§app_identifier: Option<String>§pid: u32§started_at: String§database_path: String§capabilities: Vec<String>§last_heartbeat_at: StringTrait Implementations§
Source§impl Clone for DiscoveryFile
impl Clone for DiscoveryFile
Source§fn clone(&self) -> DiscoveryFile
fn clone(&self) -> DiscoveryFile
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 moreSource§impl Debug for DiscoveryFile
impl Debug for DiscoveryFile
Source§impl<'de> Deserialize<'de> for DiscoveryFile
impl<'de> Deserialize<'de> for DiscoveryFile
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
impl Eq for DiscoveryFile
Source§impl PartialEq for DiscoveryFile
impl PartialEq for DiscoveryFile
Source§fn eq(&self, other: &DiscoveryFile) -> bool
fn eq(&self, other: &DiscoveryFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiscoveryFile
impl Serialize for DiscoveryFile
impl StructuralPartialEq for DiscoveryFile
Auto Trait Implementations§
impl Freeze for DiscoveryFile
impl RefUnwindSafe for DiscoveryFile
impl Send for DiscoveryFile
impl Sync for DiscoveryFile
impl Unpin for DiscoveryFile
impl UnsafeUnpin for DiscoveryFile
impl UnwindSafe for DiscoveryFile
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