pub struct IoArgoprojWorkflowV1alpha1OAuth2EndpointParam {
pub key: String,
pub value: Option<String>,
}Expand description
EndpointParam is for requesting optional fields that should be sent in the oauth request
Fields§
§key: StringName is the header name
value: Option<String>Value is the literal value to use for the header
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl Clone for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
fn clone(&self) -> IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
Returns a duplicate 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<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
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 From<&IoArgoprojWorkflowV1alpha1OAuth2EndpointParam> for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl From<&IoArgoprojWorkflowV1alpha1OAuth2EndpointParam> for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
Source§fn from(value: &IoArgoprojWorkflowV1alpha1OAuth2EndpointParam) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1OAuth2EndpointParam) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl Send for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl Sync for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl Unpin for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
impl UnwindSafe for IoArgoprojWorkflowV1alpha1OAuth2EndpointParam
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