pub struct WebmcpPairParams {
pub origin: String,
pub replace: bool,
}Expand description
Request to issue a one-time WebMCP pairing code for one exact browser origin.
Fields§
§origin: StringExact browser origin, including scheme and optional port, without a path.
replace: boolRevoke existing browser sessions before issuing the replacement code.
Trait Implementations§
Source§impl Clone for WebmcpPairParams
impl Clone for WebmcpPairParams
Source§impl Debug for WebmcpPairParams
impl Debug for WebmcpPairParams
Source§impl<'de> Deserialize<'de> for WebmcpPairParams
impl<'de> Deserialize<'de> for WebmcpPairParams
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 WebmcpPairParams
Source§impl PartialEq for WebmcpPairParams
impl PartialEq for WebmcpPairParams
Source§impl Serialize for WebmcpPairParams
impl Serialize for WebmcpPairParams
impl StructuralPartialEq for WebmcpPairParams
Auto Trait Implementations§
impl Forget for WebmcpPairParams
impl Freeze for WebmcpPairParams
impl RefUnwindSafe for WebmcpPairParams
impl Send for WebmcpPairParams
impl Sync for WebmcpPairParams
impl Unpin for WebmcpPairParams
impl UnsafeUnpin for WebmcpPairParams
impl UnwindSafe for WebmcpPairParams
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.