pub struct ResolvedResource {Show 17 fields
pub resource_type: String,
pub id: String,
pub name: String,
pub team_id: Option<String>,
pub enabled: bool,
pub gateway_id: Option<String>,
pub pipeline_id: Option<String>,
pub mesh_id: Option<String>,
pub urls: Vec<String>,
pub protocol: Option<String>,
pub mode: Option<String>,
pub backend_id: Option<String>,
pub service_id: Option<String>,
pub endpoint_id: Option<String>,
pub description: Option<String>,
pub provider: Option<String>,
pub auth_type: Option<String>,
}Expand description
A resolved resource (type varies based on resource type)
Fields§
§resource_type: StringResource type (ingress, egress, pipeline, etc.)
id: StringResource ID (ULID)
name: StringResource name
team_id: Option<String>Team ID
enabled: boolWhether the resource is enabled
gateway_id: Option<String>Gateway ID (for gateway-scoped resources)
pipeline_id: Option<String>Pipeline ID (for pipeline-scoped resources)
mesh_id: Option<String>Mesh ID (for mesh ingress/egress)
urls: Vec<String>URLs (for ingress resources)
protocol: Option<String>Protocol (http, http3, etc.)
mode: Option<String>Mode (default, mesh)
backend_id: Option<String>Backend ID (for egress resources)
service_id: Option<String>Service ID (for endpoints/backends)
endpoint_id: Option<String>Endpoint ID (for ingress resources)
description: Option<String>Description
provider: Option<String>Provider (for mesh resources)
auth_type: Option<String>Auth type (for mesh resources)
Trait Implementations§
Source§impl Clone for ResolvedResource
impl Clone for ResolvedResource
Source§fn clone(&self) -> ResolvedResource
fn clone(&self) -> ResolvedResource
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 ResolvedResource
impl Debug for ResolvedResource
Source§impl<'de> Deserialize<'de> for ResolvedResource
impl<'de> Deserialize<'de> for ResolvedResource
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
Auto Trait Implementations§
impl Freeze for ResolvedResource
impl RefUnwindSafe for ResolvedResource
impl Send for ResolvedResource
impl Sync for ResolvedResource
impl Unpin for ResolvedResource
impl UnwindSafe for ResolvedResource
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