pub struct NodeRegistryEntry {
pub id: u32,
pub user_id: u32,
pub hostname: String,
pub registered: DateTime<Utc>,
}Expand description
A node registration entry in the shared registry (committed to git).
Fields§
§id: u32The assigned node ID
user_id: u32The user ID who owns this node
hostname: StringHostname at registration time
registered: DateTime<Utc>Registration timestamp
Trait Implementations§
Source§impl Clone for NodeRegistryEntry
impl Clone for NodeRegistryEntry
Source§fn clone(&self) -> NodeRegistryEntry
fn clone(&self) -> NodeRegistryEntry
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 NodeRegistryEntry
impl Debug for NodeRegistryEntry
Source§impl<'de> Deserialize<'de> for NodeRegistryEntry
impl<'de> Deserialize<'de> for NodeRegistryEntry
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 NodeRegistryEntry
impl RefUnwindSafe for NodeRegistryEntry
impl Send for NodeRegistryEntry
impl Sync for NodeRegistryEntry
impl Unpin for NodeRegistryEntry
impl UnsafeUnpin for NodeRegistryEntry
impl UnwindSafe for NodeRegistryEntry
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