#[non_exhaustive]pub struct Status {Show 14 fields
pub device_id: String,
pub goroutines: u32,
pub alloc: u32,
pub sys: u32,
pub tilde: PathBuf,
pub discovery: Option<DiscoveryStatus>,
pub connection_service_status: HashMap<Uri, ListenStatusEntry>,
pub last_dial_status: HashMap<Uri, ConnectionStatusEntry>,
pub path_separator: String,
pub ur_version_max: u32,
pub uptime: u32,
pub start_time: Timestamp,
pub gui_address_overridden: bool,
pub gui_address_used: Uri,
}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.device_id: String§goroutines: u32§alloc: u32§sys: u32§tilde: PathBuf§discovery: Option<DiscoveryStatus>§connection_service_status: HashMap<Uri, ListenStatusEntry>§last_dial_status: HashMap<Uri, ConnectionStatusEntry>§path_separator: String§ur_version_max: u32§uptime: u32§start_time: Timestamp§gui_address_overridden: bool§gui_address_used: UriTrait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
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 StructuralPartialEq for Status
Auto Trait Implementations§
impl !Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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