Struct postman2openapi::openapi::v3_0::ClientCredentialsFlow
source · pub struct ClientCredentialsFlow {
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: BTreeMap<String, String>,
}
Expand description
Configuration details for a client credentials OAuth Flow See [link] [link](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oauth-flow-object
Fields§
§token_url: String
§refresh_url: Option<String>
§scopes: BTreeMap<String, String>
Trait Implementations§
source§impl Clone for ClientCredentialsFlow
impl Clone for ClientCredentialsFlow
source§fn clone(&self) -> ClientCredentialsFlow
fn clone(&self) -> ClientCredentialsFlow
Returns a copy of the value. Read more
1.0.0 · 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 ClientCredentialsFlow
impl Debug for ClientCredentialsFlow
source§impl<'de> Deserialize<'de> for ClientCredentialsFlow
impl<'de> Deserialize<'de> for ClientCredentialsFlow
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 ClientCredentialsFlow
impl PartialEq for ClientCredentialsFlow
source§fn eq(&self, other: &ClientCredentialsFlow) -> bool
fn eq(&self, other: &ClientCredentialsFlow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClientCredentialsFlow
impl Serialize for ClientCredentialsFlow
impl Eq for ClientCredentialsFlow
impl StructuralPartialEq for ClientCredentialsFlow
Auto Trait Implementations§
impl RefUnwindSafe for ClientCredentialsFlow
impl Send for ClientCredentialsFlow
impl Sync for ClientCredentialsFlow
impl Unpin for ClientCredentialsFlow
impl UnwindSafe for ClientCredentialsFlow
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
§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
§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.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.