pub struct Step {
Show 28 fields pub abort: Option<AbortInfo>, pub app_engine_version: Option<AppEngineVersionInfo>, pub causes_drop: Option<bool>, pub cloud_function: Option<CloudFunctionInfo>, pub cloud_run_revision: Option<CloudRunRevisionInfo>, pub cloud_sql_instance: Option<CloudSQLInstanceInfo>, pub deliver: Option<DeliverInfo>, pub description: Option<String>, pub drop: Option<DropInfo>, pub endpoint: Option<EndpointInfo>, pub firewall: Option<FirewallInfo>, pub forward: Option<ForwardInfo>, pub forwarding_rule: Option<ForwardingRuleInfo>, pub gke_master: Option<GKEMasterInfo>, pub google_service: Option<GoogleServiceInfo>, pub instance: Option<InstanceInfo>, pub load_balancer: Option<LoadBalancerInfo>, pub load_balancer_backend_info: Option<LoadBalancerBackendInfo>, pub nat: Option<NatInfo>, pub network: Option<NetworkInfo>, pub project_id: Option<String>, pub proxy_connection: Option<ProxyConnectionInfo>, pub route: Option<RouteInfo>, pub state: Option<String>, pub storage_bucket: Option<StorageBucketInfo>, pub vpc_connector: Option<VpcConnectorInfo>, pub vpn_gateway: Option<VpnGatewayInfo>, pub vpn_tunnel: Option<VpnTunnelInfo>,
}
Expand description

A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.

This type is not used in any activity, and only used as part of another schema.

Fields§

§abort: Option<AbortInfo>

Display information of the final state “abort” and reason.

§app_engine_version: Option<AppEngineVersionInfo>

Display information of an App Engine service version.

§causes_drop: Option<bool>

This is a step that leads to the final state Drop.

§cloud_function: Option<CloudFunctionInfo>

Display information of a Cloud Function.

§cloud_run_revision: Option<CloudRunRevisionInfo>

Display information of a Cloud Run revision.

§cloud_sql_instance: Option<CloudSQLInstanceInfo>

Display information of a Cloud SQL instance.

§deliver: Option<DeliverInfo>

Display information of the final state “deliver” and reason.

§description: Option<String>

A description of the step. Usually this is a summary of the state.

§drop: Option<DropInfo>

Display information of the final state “drop” and reason.

§endpoint: Option<EndpointInfo>

Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

§firewall: Option<FirewallInfo>

Display information of a Compute Engine firewall rule.

§forward: Option<ForwardInfo>

Display information of the final state “forward” and reason.

§forwarding_rule: Option<ForwardingRuleInfo>

Display information of a Compute Engine forwarding rule.

§gke_master: Option<GKEMasterInfo>

Display information of a Google Kubernetes Engine cluster master.

§google_service: Option<GoogleServiceInfo>

Display information of a Google service

§instance: Option<InstanceInfo>

Display information of a Compute Engine instance.

§load_balancer: Option<LoadBalancerInfo>

Display information of the load balancers. Deprecated in favor of the load_balancer_backend_info field, not used in new tests.

§load_balancer_backend_info: Option<LoadBalancerBackendInfo>

Display information of a specific load balancer backend.

§nat: Option<NatInfo>

Display information of a NAT.

§network: Option<NetworkInfo>

Display information of a Google Cloud network.

§project_id: Option<String>

Project ID that contains the configuration this step is validating.

§proxy_connection: Option<ProxyConnectionInfo>

Display information of a ProxyConnection.

§route: Option<RouteInfo>

Display information of a Compute Engine route.

§state: Option<String>

Each step is in one of the pre-defined states.

§storage_bucket: Option<StorageBucketInfo>

Display information of a Storage Bucket. Used only for return traces.

§vpc_connector: Option<VpcConnectorInfo>

Display information of a VPC connector.

§vpn_gateway: Option<VpnGatewayInfo>

Display information of a Compute Engine VPN gateway.

§vpn_tunnel: Option<VpnTunnelInfo>

Display information of a Compute Engine VPN tunnel.

Trait Implementations§

source§

impl Clone for Step

source§

fn clone(&self) -> Step

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Step

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Step

source§

fn default() -> Step

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Step

source§

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 Serialize for Step

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for Step

Auto Trait Implementations§

§

impl RefUnwindSafe for Step

§

impl Send for Step

§

impl Sync for Step

§

impl Unpin for Step

§

impl UnwindSafe for Step

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,