#[non_exhaustive]pub struct HTTPTokenAuthUpdate {
pub body: Option<HTTPBody>,
pub headers: Option<Vec<HTTPHeaderUpdate>>,
pub tokens: Option<Vec<HTTPTokenUpdate>>,
pub type_: HTTPTokenAuthType,
pub url_parameters: Option<Vec<UrlParamUpdate>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The definition of HTTPTokenAuthUpdate
object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.body: Option<HTTPBody>
The definition of HTTPBody
object.
headers: Option<Vec<HTTPHeaderUpdate>>
The HTTPTokenAuthUpdate
headers
.
tokens: Option<Vec<HTTPTokenUpdate>>
The HTTPTokenAuthUpdate
tokens
.
type_: HTTPTokenAuthType
The definition of HTTPTokenAuthType
object.
url_parameters: Option<Vec<UrlParamUpdate>>
The HTTPTokenAuthUpdate
url_parameters
.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl HTTPTokenAuthUpdate
impl HTTPTokenAuthUpdate
pub fn new(type_: HTTPTokenAuthType) -> HTTPTokenAuthUpdate
pub fn body(self, value: HTTPBody) -> Self
pub fn headers(self, value: Vec<HTTPHeaderUpdate>) -> Self
pub fn tokens(self, value: Vec<HTTPTokenUpdate>) -> Self
pub fn url_parameters(self, value: Vec<UrlParamUpdate>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for HTTPTokenAuthUpdate
impl Clone for HTTPTokenAuthUpdate
Source§fn clone(&self) -> HTTPTokenAuthUpdate
fn clone(&self) -> HTTPTokenAuthUpdate
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 Debug for HTTPTokenAuthUpdate
impl Debug for HTTPTokenAuthUpdate
Source§impl<'de> Deserialize<'de> for HTTPTokenAuthUpdate
impl<'de> Deserialize<'de> for HTTPTokenAuthUpdate
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 HTTPTokenAuthUpdate
impl PartialEq for HTTPTokenAuthUpdate
Source§impl Serialize for HTTPTokenAuthUpdate
impl Serialize for HTTPTokenAuthUpdate
impl StructuralPartialEq for HTTPTokenAuthUpdate
Auto Trait Implementations§
impl Freeze for HTTPTokenAuthUpdate
impl RefUnwindSafe for HTTPTokenAuthUpdate
impl Send for HTTPTokenAuthUpdate
impl Sync for HTTPTokenAuthUpdate
impl Unpin for HTTPTokenAuthUpdate
impl UnwindSafe for HTTPTokenAuthUpdate
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