pub struct DeploymentAuthorizationInfo {
pub authorization_header_for: Option<AuthorizationHeaderFor>,
pub resources: Vec<String>,
pub tenant_id: Option<String>,
pub vsts_access_token_key: Option<String>,
}
Expand description
Fields§
Authorization header type, typically either RevalidateApproverIdentity or OnBehalfOf.
resources: Vec<String>
List of resources.
tenant_id: Option<String>
ID of the tenant.
vsts_access_token_key: Option<String>
Access token key.
Implementations§
Trait Implementations§
source§impl Clone for DeploymentAuthorizationInfo
impl Clone for DeploymentAuthorizationInfo
source§fn clone(&self) -> DeploymentAuthorizationInfo
fn clone(&self) -> DeploymentAuthorizationInfo
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 DeploymentAuthorizationInfo
impl Debug for DeploymentAuthorizationInfo
source§impl Default for DeploymentAuthorizationInfo
impl Default for DeploymentAuthorizationInfo
source§fn default() -> DeploymentAuthorizationInfo
fn default() -> DeploymentAuthorizationInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeploymentAuthorizationInfo
impl<'de> Deserialize<'de> for DeploymentAuthorizationInfo
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 DeploymentAuthorizationInfo
impl PartialEq for DeploymentAuthorizationInfo
source§fn eq(&self, other: &DeploymentAuthorizationInfo) -> bool
fn eq(&self, other: &DeploymentAuthorizationInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentAuthorizationInfo
Auto Trait Implementations§
impl RefUnwindSafe for DeploymentAuthorizationInfo
impl Send for DeploymentAuthorizationInfo
impl Sync for DeploymentAuthorizationInfo
impl Unpin for DeploymentAuthorizationInfo
impl UnwindSafe for DeploymentAuthorizationInfo
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