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§impl Serialize for EndpointAuthorization
impl Serialize for EndpointAuthorization
impl StructuralPartialEq for EndpointAuthorization
Auto Trait Implementations§
impl Freeze for EndpointAuthorization
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