pub struct PackConnectionMultiHeaderPatch {
pub tokens_to_patch: Vec<PackConnectionMultiHeaderPatchTokensToPatchItem>,
pub type_: PackConnectionMultiHeaderPatchType,
}
Expand description
PackConnectionMultiHeaderPatch
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"tokensToPatch": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false
}
},
"type": {
"type": "string",
"enum": [
"multiHeader"
],
"x-tsType": "PackConnectionType.MultiHeader"
}
},
"additionalProperties": false,
"x-schema-name": "PackConnectionMultiHeaderPatch"
}
Fields§
§tokens_to_patch: Vec<PackConnectionMultiHeaderPatchTokensToPatchItem>
§type_: PackConnectionMultiHeaderPatchType
Trait Implementations§
Source§impl Clone for PackConnectionMultiHeaderPatch
impl Clone for PackConnectionMultiHeaderPatch
Source§fn clone(&self) -> PackConnectionMultiHeaderPatch
fn clone(&self) -> PackConnectionMultiHeaderPatch
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 PackConnectionMultiHeaderPatch
impl<'de> Deserialize<'de> for PackConnectionMultiHeaderPatch
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<&PackConnectionMultiHeaderPatch> for PackConnectionMultiHeaderPatch
impl From<&PackConnectionMultiHeaderPatch> for PackConnectionMultiHeaderPatch
Source§fn from(value: &PackConnectionMultiHeaderPatch) -> Self
fn from(value: &PackConnectionMultiHeaderPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionMultiHeaderPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionMultiHeaderPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionMultiHeaderPatch) -> Self
fn from(value: PackConnectionMultiHeaderPatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackConnectionMultiHeaderPatch
impl RefUnwindSafe for PackConnectionMultiHeaderPatch
impl Send for PackConnectionMultiHeaderPatch
impl Sync for PackConnectionMultiHeaderPatch
impl Unpin for PackConnectionMultiHeaderPatch
impl UnwindSafe for PackConnectionMultiHeaderPatch
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