pub struct RequestParams {
pub client_name: String,
}Expand description
pairing.request params (OPEN — no token).
Fields§
§client_name: StringA human-readable name for the requesting client (shown to the operator).
Trait Implementations§
Source§impl Clone for RequestParams
impl Clone for RequestParams
Source§fn clone(&self) -> RequestParams
fn clone(&self) -> RequestParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCall for RequestParams
impl ControlCall for RequestParams
Source§const METHOD: ControlMethod = ControlMethod::PairingRequest
const METHOD: ControlMethod = ControlMethod::PairingRequest
The wire method this call invokes.
Source§type Output = PairingRequestResult
type Output = PairingRequestResult
The typed result this call returns on success.
Source§impl Debug for RequestParams
impl Debug for RequestParams
Source§impl<'de> Deserialize<'de> for RequestParams
impl<'de> Deserialize<'de> for RequestParams
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 RequestParams
Source§impl PartialEq for RequestParams
impl PartialEq for RequestParams
Source§impl Serialize for RequestParams
impl Serialize for RequestParams
impl StructuralPartialEq for RequestParams
Auto Trait Implementations§
impl Freeze for RequestParams
impl RefUnwindSafe for RequestParams
impl Send for RequestParams
impl Sync for RequestParams
impl Unpin for RequestParams
impl UnsafeUnpin for RequestParams
impl UnwindSafe for RequestParams
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