pub struct WebmcpBridgeStatus {
pub running: bool,
pub endpoint: Option<String>,
pub allowed_origins: Vec<String>,
pub session_id: Option<String>,
pub turns_available: bool,
pub workspace: String,
}Expand description
WebMCP bridge state exposed to the desktop client without pairing secrets.
Fields§
§running: boolWhether the listener is running in this desktop service process.
endpoint: Option<String>Loopback WebSocket endpoint when the listener is running.
allowed_origins: Vec<String>Exact origins allowed to pair. Empty means the next explicit pair request binds one origin.
session_id: Option<String>Selected durable session, if any.
turns_available: boolWhether an active desktop runtime can accept a browser turn now.
workspace: StringCanonical workspace used by the bridge.
Trait Implementations§
Source§impl Clone for WebmcpBridgeStatus
impl Clone for WebmcpBridgeStatus
Source§impl Debug for WebmcpBridgeStatus
impl Debug for WebmcpBridgeStatus
Source§impl<'de> Deserialize<'de> for WebmcpBridgeStatus
impl<'de> Deserialize<'de> for WebmcpBridgeStatus
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 Eq for WebmcpBridgeStatus
Source§impl PartialEq for WebmcpBridgeStatus
impl PartialEq for WebmcpBridgeStatus
Source§impl Serialize for WebmcpBridgeStatus
impl Serialize for WebmcpBridgeStatus
impl StructuralPartialEq for WebmcpBridgeStatus
Auto Trait Implementations§
impl Freeze for WebmcpBridgeStatus
impl RefUnwindSafe for WebmcpBridgeStatus
impl Send for WebmcpBridgeStatus
impl Sync for WebmcpBridgeStatus
impl Unpin for WebmcpBridgeStatus
impl UnsafeUnpin for WebmcpBridgeStatus
impl UnwindSafe for WebmcpBridgeStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.