pub struct CliHotkeyEndpoint {
pub version: String,
pub port: u16,
pub pid: u32,
pub created_at_ms: u128,
}Expand description
On-disk discovery record for the currently-running CLI hotkey server.
Fields§
§version: StringProtocol version string.
port: u16TCP port bound on 127.0.0.1.
pid: u32PID of the CLI process that created the endpoint.
created_at_ms: u128Unix epoch millis when written.
Trait Implementations§
Source§impl Clone for CliHotkeyEndpoint
impl Clone for CliHotkeyEndpoint
Source§fn clone(&self) -> CliHotkeyEndpoint
fn clone(&self) -> CliHotkeyEndpoint
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 CliHotkeyEndpoint
impl Debug for CliHotkeyEndpoint
Source§impl<'de> Deserialize<'de> for CliHotkeyEndpoint
impl<'de> Deserialize<'de> for CliHotkeyEndpoint
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
Source§impl PartialEq for CliHotkeyEndpoint
impl PartialEq for CliHotkeyEndpoint
Source§impl Serialize for CliHotkeyEndpoint
impl Serialize for CliHotkeyEndpoint
impl Eq for CliHotkeyEndpoint
impl StructuralPartialEq for CliHotkeyEndpoint
Auto Trait Implementations§
impl Freeze for CliHotkeyEndpoint
impl RefUnwindSafe for CliHotkeyEndpoint
impl Send for CliHotkeyEndpoint
impl Sync for CliHotkeyEndpoint
impl Unpin for CliHotkeyEndpoint
impl UnwindSafe for CliHotkeyEndpoint
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