pub struct NativePollQuery {
pub state: String,
}Expand description
Query params for GET /native/callback and GET /native/poll — the
RFC 8252 §7.1-style native-app flow where the server hosts the OAuth
redirect_uri (a real HTTPS URL, not a client-run loopback listener) and
the desktop client polls for the resulting code by state.
Fields§
§state: StringTrait Implementations§
Source§impl Clone for NativePollQuery
impl Clone for NativePollQuery
Source§fn clone(&self) -> NativePollQuery
fn clone(&self) -> NativePollQuery
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 Debug for NativePollQuery
impl Debug for NativePollQuery
Source§impl<'de> Deserialize<'de> for NativePollQuery
impl<'de> Deserialize<'de> for NativePollQuery
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 PartialEq for NativePollQuery
impl PartialEq for NativePollQuery
Source§fn eq(&self, other: &NativePollQuery) -> bool
fn eq(&self, other: &NativePollQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NativePollQuery
impl Serialize for NativePollQuery
impl Eq for NativePollQuery
impl StructuralPartialEq for NativePollQuery
Auto Trait Implementations§
impl Freeze for NativePollQuery
impl RefUnwindSafe for NativePollQuery
impl Send for NativePollQuery
impl Sync for NativePollQuery
impl Unpin for NativePollQuery
impl UnsafeUnpin for NativePollQuery
impl UnwindSafe for NativePollQuery
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more