pub struct PackConnectionCustomMetadata {
pub domain: String,
pub params: Vec<PackConnectionCustomMetadataParamsItem>,
pub preset_keys: Vec<String>,
pub type_: PackConnectionCustomMetadataType,
}
Expand description
PackConnectionCustomMetadata
JSON schema
{
"type": "object",
"required": [
"domain",
"params",
"presetKeys",
"type"
],
"properties": {
"domain": {
"description": "The domain corresponding to the pre-authorized
network domain in the pack.",
"type": "string"
},
"params": {
"description": "An array of objects containing the parameter key
and masked value.",
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"maskedValue"
],
"properties": {
"key": {
"type": "string"
},
"maskedValue": {
"type": "string"
}
},
"additionalProperties": false
}
},
"presetKeys": {
"description": "An array containing the keys of parameters
specified by the authentication config.",
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string",
"enum": [
"custom"
],
"x-tsType": "PackConnectionType.Custom"
}
},
"additionalProperties": false,
"x-schema-name": "PackConnectionCustomMetadata"
}
Fields§
§domain: String
The domain corresponding to the pre-authorized network domain in the pack.
params: Vec<PackConnectionCustomMetadataParamsItem>
An array of objects containing the parameter key and masked value.
preset_keys: Vec<String>
An array containing the keys of parameters specified by the authentication config.
type_: PackConnectionCustomMetadataType
Trait Implementations§
Source§impl Clone for PackConnectionCustomMetadata
impl Clone for PackConnectionCustomMetadata
Source§fn clone(&self) -> PackConnectionCustomMetadata
fn clone(&self) -> PackConnectionCustomMetadata
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 PackConnectionCustomMetadata
impl Debug for PackConnectionCustomMetadata
Source§impl<'de> Deserialize<'de> for PackConnectionCustomMetadata
impl<'de> Deserialize<'de> for PackConnectionCustomMetadata
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<&PackConnectionCustomMetadata> for PackConnectionCustomMetadata
impl From<&PackConnectionCustomMetadata> for PackConnectionCustomMetadata
Source§fn from(value: &PackConnectionCustomMetadata) -> Self
fn from(value: &PackConnectionCustomMetadata) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionCustomMetadata> for PackSystemConnectionMetadata
impl From<PackConnectionCustomMetadata> for PackSystemConnectionMetadata
Source§fn from(value: PackConnectionCustomMetadata) -> Self
fn from(value: PackConnectionCustomMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackConnectionCustomMetadata
impl RefUnwindSafe for PackConnectionCustomMetadata
impl Send for PackConnectionCustomMetadata
impl Sync for PackConnectionCustomMetadata
impl Unpin for PackConnectionCustomMetadata
impl UnwindSafe for PackConnectionCustomMetadata
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