pub struct ProxySettingsCreateInput {
pub backends: Vec<ProxySettingsBackend>,
pub description: String,
pub routes: Vec<ProxySettingsRoute>,
}
Expand description
ProxySettingsCreateInput
JSON schema
{
"type": "object",
"required": [
"backends",
"description"
],
"properties": {
"backends": {
"description": "The backend list of the proxy.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProxySettingsBackend"
}
},
"description": {
"description": "Description of the proxy settings revision.",
"type": "string"
},
"routes": {
"description": "The routing rules of the proxy.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProxySettingsRoute"
}
}
}
}
Fields§
§backends: Vec<ProxySettingsBackend>
The backend list of the proxy.
description: String
Description of the proxy settings revision.
routes: Vec<ProxySettingsRoute>
The routing rules of the proxy.
Implementations§
Source§impl ProxySettingsCreateInput
impl ProxySettingsCreateInput
pub fn builder() -> ProxySettingsCreateInput
Trait Implementations§
Source§impl Clone for ProxySettingsCreateInput
impl Clone for ProxySettingsCreateInput
Source§fn clone(&self) -> ProxySettingsCreateInput
fn clone(&self) -> ProxySettingsCreateInput
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 ProxySettingsCreateInput
impl Debug for ProxySettingsCreateInput
Source§impl<'de> Deserialize<'de> for ProxySettingsCreateInput
impl<'de> Deserialize<'de> for ProxySettingsCreateInput
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<&ProxySettingsCreateInput> for ProxySettingsCreateInput
impl From<&ProxySettingsCreateInput> for ProxySettingsCreateInput
Source§fn from(value: &ProxySettingsCreateInput) -> Self
fn from(value: &ProxySettingsCreateInput) -> Self
Converts to this type from the input type.
Source§impl From<ProxySettingsCreateInput> for ProxySettingsCreateInput
impl From<ProxySettingsCreateInput> for ProxySettingsCreateInput
Source§fn from(value: ProxySettingsCreateInput) -> Self
fn from(value: ProxySettingsCreateInput) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ProxySettingsCreateInput
impl JsonSchema for ProxySettingsCreateInput
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for ProxySettingsCreateInput
impl Serialize for ProxySettingsCreateInput
Source§impl TryFrom<ProxySettingsCreateInput> for ProxySettingsCreateInput
impl TryFrom<ProxySettingsCreateInput> for ProxySettingsCreateInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProxySettingsCreateInput) -> Result<Self, ConversionError>
fn try_from(value: ProxySettingsCreateInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProxySettingsCreateInput
impl RefUnwindSafe for ProxySettingsCreateInput
impl Send for ProxySettingsCreateInput
impl Sync for ProxySettingsCreateInput
impl Unpin for ProxySettingsCreateInput
impl UnwindSafe for ProxySettingsCreateInput
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