pub struct DaemonInfo {
pub id: String,
pub name: Option<String>,
pub status: DaemonStatus,
pub last_seen_at: String,
pub created_at: String,
}Expand description
A daemon the authenticated user has registered with the cloud.
Fields§
§id: StringStable id assigned when the daemon first registered (hd-…).
name: Option<String>Human-readable label set by the daemon (defaults to hostname).
status: DaemonStatus§last_seen_at: StringRFC 3339 timestamp of the most recent heartbeat.
created_at: StringRFC 3339 timestamp from initial registration.
Trait Implementations§
Source§impl Clone for DaemonInfo
impl Clone for DaemonInfo
Source§fn clone(&self) -> DaemonInfo
fn clone(&self) -> DaemonInfo
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 DaemonInfo
impl Debug for DaemonInfo
Source§impl<'de> Deserialize<'de> for DaemonInfo
impl<'de> Deserialize<'de> for DaemonInfo
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 DaemonInfo
impl RefUnwindSafe for DaemonInfo
impl Send for DaemonInfo
impl Sync for DaemonInfo
impl Unpin for DaemonInfo
impl UnsafeUnpin for DaemonInfo
impl UnwindSafe for DaemonInfo
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