pub struct WebmcpPairResult {
pub endpoint: String,
pub origin: String,
pub pairing_code: String,
pub expires_in_secs: u64,
}Expand description
One-time pairing material. The code is returned only by the pair operation and is never persisted.
Fields§
§endpoint: StringLoopback WebSocket endpoint for the paired browser.
origin: StringExact origin bound to the pairing code.
pairing_code: StringShort-lived, single-use pairing code.
expires_in_secs: u64Remaining lifetime of the pairing code.
Trait Implementations§
Source§impl Clone for WebmcpPairResult
impl Clone for WebmcpPairResult
Source§impl Debug for WebmcpPairResult
impl Debug for WebmcpPairResult
Source§impl<'de> Deserialize<'de> for WebmcpPairResult
impl<'de> Deserialize<'de> for WebmcpPairResult
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 WebmcpPairResult
Source§impl PartialEq for WebmcpPairResult
impl PartialEq for WebmcpPairResult
Source§impl Serialize for WebmcpPairResult
impl Serialize for WebmcpPairResult
impl StructuralPartialEq for WebmcpPairResult
Auto Trait Implementations§
impl Freeze for WebmcpPairResult
impl RefUnwindSafe for WebmcpPairResult
impl Send for WebmcpPairResult
impl Sync for WebmcpPairResult
impl Unpin for WebmcpPairResult
impl UnsafeUnpin for WebmcpPairResult
impl UnwindSafe for WebmcpPairResult
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.