pub struct PublicEndpointOutput {
pub host: String,
pub load_balancer_endpoint: Option<LoadBalancerEndpoint>,
pub port: NonZeroU32,
pub protocol: ExposeProtocol,
pub url: String,
pub wildcard_host: Option<String>,
}Expand description
Runtime-resolved public endpoint metadata.
JSON schema
{
"description": "Runtime-resolved public endpoint metadata.",
"type": "object",
"required": [
"host",
"port",
"protocol",
"url"
],
"properties": {
"host": {
"description": "Hostname for this endpoint.",
"type": "string"
},
"loadBalancerEndpoint": {
"$ref": "#/components/schemas/LoadBalancerEndpoint"
},
"port": {
"description": "Public connection port.",
"type": "integer",
"format": "int32",
"maximum": 65535.0,
"minimum": 1.0
},
"protocol": {
"$ref": "#/components/schemas/ExposeProtocol"
},
"url": {
"description": "Base URL for this endpoint.",
"type": "string"
},
"wildcardHost": {
"description": "Wildcard hostname routed to this endpoint, when configured.",
"type": [
"string",
"null"
]
}
}
}Fields§
§host: StringHostname for this endpoint.
load_balancer_endpoint: Option<LoadBalancerEndpoint>§port: NonZeroU32Public connection port.
protocol: ExposeProtocol§url: StringBase URL for this endpoint.
wildcard_host: Option<String>Wildcard hostname routed to this endpoint, when configured.
Implementations§
Source§impl PublicEndpointOutput
impl PublicEndpointOutput
pub fn builder() -> PublicEndpointOutput
Trait Implementations§
Source§impl Clone for PublicEndpointOutput
impl Clone for PublicEndpointOutput
Source§fn clone(&self) -> PublicEndpointOutput
fn clone(&self) -> PublicEndpointOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicEndpointOutput
impl Debug for PublicEndpointOutput
Source§impl<'de> Deserialize<'de> for PublicEndpointOutput
impl<'de> Deserialize<'de> for PublicEndpointOutput
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<&PublicEndpointOutput> for PublicEndpointOutput
impl From<&PublicEndpointOutput> for PublicEndpointOutput
Source§fn from(value: &PublicEndpointOutput) -> Self
fn from(value: &PublicEndpointOutput) -> Self
Converts to this type from the input type.
Source§impl From<PublicEndpointOutput> for PublicEndpointOutput
impl From<PublicEndpointOutput> for PublicEndpointOutput
Source§fn from(value: PublicEndpointOutput) -> Self
fn from(value: PublicEndpointOutput) -> Self
Converts to this type from the input type.
Source§impl Serialize for PublicEndpointOutput
impl Serialize for PublicEndpointOutput
Source§impl TryFrom<PublicEndpointOutput> for PublicEndpointOutput
impl TryFrom<PublicEndpointOutput> for PublicEndpointOutput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PublicEndpointOutput) -> Result<Self, ConversionError>
fn try_from(value: PublicEndpointOutput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PublicEndpointOutput
impl RefUnwindSafe for PublicEndpointOutput
impl Send for PublicEndpointOutput
impl Sync for PublicEndpointOutput
impl Unpin for PublicEndpointOutput
impl UnsafeUnpin for PublicEndpointOutput
impl UnwindSafe for PublicEndpointOutput
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