pub struct EndpointAuthorization {
pub parameters: Option<Value>,
pub scheme: Option<String>,
}
Expand description
Represents the authorization used for service endpoint.
Fields§
§parameters: Option<Value>
Gets or sets the parameters for the selected authorization scheme.
scheme: Option<String>
Gets or sets the scheme used for service endpoint authentication.
Implementations§
Trait Implementations§
source§impl Clone for EndpointAuthorization
impl Clone for EndpointAuthorization
source§fn clone(&self) -> EndpointAuthorization
fn clone(&self) -> EndpointAuthorization
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 EndpointAuthorization
impl Debug for EndpointAuthorization
source§impl Default for EndpointAuthorization
impl Default for EndpointAuthorization
source§fn default() -> EndpointAuthorization
fn default() -> EndpointAuthorization
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointAuthorization
impl<'de> Deserialize<'de> for EndpointAuthorization
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 EndpointAuthorization
impl PartialEq for EndpointAuthorization
source§fn eq(&self, other: &EndpointAuthorization) -> bool
fn eq(&self, other: &EndpointAuthorization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EndpointAuthorization
impl Serialize for EndpointAuthorization
impl StructuralPartialEq for EndpointAuthorization
Auto Trait Implementations§
impl RefUnwindSafe for EndpointAuthorization
impl Send for EndpointAuthorization
impl Sync for EndpointAuthorization
impl Unpin for EndpointAuthorization
impl UnwindSafe for EndpointAuthorization
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