GoodMemGoodMem
ReferenceSdkRustTypes

PingEndpointInfo

Rust struct goodmem::models::PingEndpointInfo: declaration, fields or variants, and implementations.

All types

Struct PingEndpointInfo

goodmem::models::PingEndpointInfo

Resolved endpoint metadata for ping responses

pub struct PingEndpointInfo {
    pub target_type: PingTargetType,
    pub target_id: String,
    pub resolved_endpoint: String,
    pub provider: String,
    pub model_identifier: String,
}

Referenced types: PingTargetType.

Fields

target_type

pub target_type: PingTargetType

Resolved resource type Wire name: targetType.

target_id

pub target_id: String

Target resource ID (UUID) Wire name: targetId.

resolved_endpoint

pub resolved_endpoint: String

Fully resolved endpoint URL used for the probe Wire name: resolvedEndpoint.

provider

pub provider: String

Provider name backing the resource Wire name: provider.

model_identifier

pub model_identifier: String

Provider-specific model identifier Wire name: modelIdentifier.

Implementations

validate

pub fn validate(&self) -> crate::Result<()>

Validate the request before sending, without making an HTTP call.

Trait implementations

  • Clone (derived)
  • Default (derived)
  • PartialEq (derived)
  • Serialize (derived)
  • impl<'de> Deserialize<'de> for PingEndpointInfo
  • impl std::fmt::Debug for PingEndpointInfo

On this page