pub struct WakeResponse {
pub connection_id: String,
pub daemon_url: Option<String>,
pub debug_port: i32,
pub status: WakeResponseStatus,
}Expand description
Response from wake operation
JSON schema
{
"description": "Response from wake operation",
"type": "object",
"required": [
"connection_id",
"debug_port",
"status"
],
"properties": {
"connection_id": {
"description": "Connection ID assigned by the daemon",
"type": "string",
"example": "conn_abc123"
},
"daemon_url": {
"description": "External URL of the daemon this client registered with.\nSet from daemon's advertise_url returned during registration.\nUsed by MCP bridge for auto-discovery of remote daemons.\n",
"type": "string",
"format": "uri",
"example": "http://localhost:8095"
},
"debug_port": {
"description": "Port the debug adapter is listening on",
"type": "integer",
"format": "int32",
"maximum": 65535.0,
"minimum": 1.0,
"example": 5678
},
"status": {
"description": "\"awake\" if the client transitioned from sleeping to awake.\n\"already_awake\" if the client was already in awake state.\n",
"type": "string",
"enum": [
"awake",
"already_awake"
]
}
},
"example": {
"connection_id": "conn_abc123",
"daemon_url": "http://localhost:8095",
"debug_port": 5678,
"status": "awake"
}
}Fields§
§connection_id: StringConnection ID assigned by the daemon
daemon_url: Option<String>External URL of the daemon this client registered with. Set from daemon’s advertise_url returned during registration. Used by MCP bridge for auto-discovery of remote daemons.
debug_port: i32Port the debug adapter is listening on
status: WakeResponseStatus“awake” if the client transitioned from sleeping to awake. “already_awake” if the client was already in awake state.
Trait Implementations§
Source§impl Clone for WakeResponse
impl Clone for WakeResponse
Source§fn clone(&self) -> WakeResponse
fn clone(&self) -> WakeResponse
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 WakeResponse
impl Debug for WakeResponse
Source§impl<'de> Deserialize<'de> for WakeResponse
impl<'de> Deserialize<'de> for WakeResponse
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 From<&WakeResponse> for WakeResponse
impl From<&WakeResponse> for WakeResponse
Source§fn from(value: &WakeResponse) -> Self
fn from(value: &WakeResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WakeResponse
impl RefUnwindSafe for WakeResponse
impl Send for WakeResponse
impl Sync for WakeResponse
impl Unpin for WakeResponse
impl UnsafeUnpin for WakeResponse
impl UnwindSafe for WakeResponse
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