pub struct PackConnectionHeaderPatch {
pub token: Option<String>,
pub type_: PackConnectionHeaderPatchType,
}
Expand description
PackConnectionHeaderPatch
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"token": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"header"
],
"x-tsType": "PackConnectionType.Header"
}
},
"additionalProperties": false,
"x-schema-name": "PackConnectionHeaderPatch"
}
Fields§
§token: Option<String>
§type_: PackConnectionHeaderPatchType
Trait Implementations§
Source§impl Clone for PackConnectionHeaderPatch
impl Clone for PackConnectionHeaderPatch
Source§fn clone(&self) -> PackConnectionHeaderPatch
fn clone(&self) -> PackConnectionHeaderPatch
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 PackConnectionHeaderPatch
impl Debug for PackConnectionHeaderPatch
Source§impl<'de> Deserialize<'de> for PackConnectionHeaderPatch
impl<'de> Deserialize<'de> for PackConnectionHeaderPatch
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<&PackConnectionHeaderPatch> for PackConnectionHeaderPatch
impl From<&PackConnectionHeaderPatch> for PackConnectionHeaderPatch
Source§fn from(value: &PackConnectionHeaderPatch) -> Self
fn from(value: &PackConnectionHeaderPatch) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionHeaderPatch> for PatchPackSystemConnectionRequest
impl From<PackConnectionHeaderPatch> for PatchPackSystemConnectionRequest
Source§fn from(value: PackConnectionHeaderPatch) -> Self
fn from(value: PackConnectionHeaderPatch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackConnectionHeaderPatch
impl RefUnwindSafe for PackConnectionHeaderPatch
impl Send for PackConnectionHeaderPatch
impl Sync for PackConnectionHeaderPatch
impl Unpin for PackConnectionHeaderPatch
impl UnwindSafe for PackConnectionHeaderPatch
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