Skip to main content

JsonSchema

pub trait JsonSchema {
    // Required methods
    fn schema_name() -> Cow<'static, str>;
    fn json_schema(generator: &mut SchemaGenerator) -> Schema;

    // Provided methods
    fn inline_schema() -> bool { ... }
    fn schema_id() -> Cow<'static, str> { ... }
}
Expand description

A type which can be described as a JSON Schema document.

This is implemented for many Rust primitive and standard library types.

This can also be automatically derived on most custom types with #[derive(JsonSchema)] by enabling the derive feature flag (which is enabled by default). For more info on deriving JsonSchema, see the derive macro documentation.

§Examples

Deriving an implementation:

use schemars::{schema_for, JsonSchema};

#[derive(JsonSchema)]
struct MyStruct {
    foo: i32,
}

let my_schema = schema_for!(MyStruct);

When manually implementing JsonSchema, as well as determining an appropriate schema, you will need to determine an appropriate name and ID for the type. For non-generic types, the type name/path are suitable for this:

use schemars::{SchemaGenerator, Schema, JsonSchema, json_schema};
use std::borrow::Cow;

struct NonGenericType;

impl JsonSchema for NonGenericType {
    fn schema_name() -> Cow<'static, str> {
        // Exclude the module path to make the name in generated schemas clearer.
        "NonGenericType".into()
    }

    fn schema_id() -> Cow<'static, str> {
        // Include the module, in case a type with the same name is in another module/crate
        concat!(module_path!(), "::NonGenericType").into()
    }

    fn json_schema(_gen: &mut SchemaGenerator) -> Schema {
        json_schema!({
            "foo": "bar"
        })
    }
}

assert_eq!(NonGenericType::schema_id(), <&mut NonGenericType>::schema_id());

But generic type parameters which may affect the generated schema should typically be included in the name/ID:

use schemars::{SchemaGenerator, Schema, JsonSchema, json_schema};
use std::{borrow::Cow, marker::PhantomData};

struct GenericType<T>(PhantomData<T>);

impl<T: JsonSchema> JsonSchema for GenericType<T> {
    fn schema_name() -> Cow<'static, str> {
        format!("GenericType_{}", T::schema_name()).into()
    }

    fn schema_id() -> Cow<'static, str> {
        format!(
            "{}::GenericType<{}>",
            module_path!(),
            T::schema_id()
        ).into()
    }

    fn json_schema(_gen: &mut SchemaGenerator) -> Schema {
        json_schema!({
            "foo": "bar"
        })
    }
}

assert_eq!(<GenericType<i32>>::schema_id(), <&mut GenericType<&i32>>::schema_id());

Required Methods§

Source

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema.

This is used as the title for root schemas, and the key within the root’s definitions property for subschemas.

Source

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type.

If the returned schema depends on any non-inlined schemas, then this method will add them to the SchemaGenerator’s schema definitions.

This should not return a $ref schema.

Provided Methods§

Source

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword.

For trivial types (such as primitives), this should return true. For more complex types, it should return false. For recursive types, this must return false to prevent infinite cycles when generating schemas.

By default, this returns false.

Source

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type.

This does not have to be a human-readable string, and the value will not itself be included in generated schemas. If two types produce different schemas, then they must have different schema_id()s, but two types that produce identical schemas should ideally have the same schema_id().

The default implementation returns the same value as schema_name().

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl JsonSchema for JSONSchemaPropsOrArray

Available on crate feature schemars only.
Source§

impl JsonSchema for JSONSchemaPropsOrBool

Available on crate feature schemars only.
Source§

impl JsonSchema for JSONSchemaPropsOrStringArray

Available on crate feature schemars only.
Source§

impl JsonSchema for Patch

Available on crate feature schemars only.
Source§

impl JsonSchema for IntOrString

Available on crate feature schemars only.
Source§

impl JsonSchema for TlsMode

Source§

impl JsonSchema for AuthenticatorKind

Source§

impl JsonSchema for Value

Source§

impl JsonSchema for IpAddr

Source§

impl JsonSchema for SocketAddr

Source§

impl JsonSchema for bool

Source§

impl JsonSchema for char

Source§

impl JsonSchema for f32

Source§

impl JsonSchema for f64

Source§

impl JsonSchema for i8

Source§

impl JsonSchema for i16

Source§

impl JsonSchema for i32

Source§

impl JsonSchema for i64

Source§

impl JsonSchema for i128

Source§

impl JsonSchema for isize

Source§

impl JsonSchema for str

Source§

impl JsonSchema for u8

Source§

impl JsonSchema for u16

Source§

impl JsonSchema for u32

Source§

impl JsonSchema for u64

Source§

impl JsonSchema for u128

Source§

impl JsonSchema for ()

Source§

impl JsonSchema for usize

Source§

impl JsonSchema for AuditAnnotation

Available on crate feature schemars only.
Source§

impl JsonSchema for ExpressionWarning

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchResources

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingWebhook

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingWebhookConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for NamedRuleWithOperations

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamKind

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamRef

Available on crate feature schemars only.
Source§

impl JsonSchema for RuleWithOperations

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceReference

Available on crate feature schemars only.
Source§

impl JsonSchema for TypeChecking

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyBinding

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyBindingSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicySpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingWebhook

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingWebhookConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for Validation

Available on crate feature schemars only.
Source§

impl JsonSchema for Variable

Available on crate feature schemars only.
Source§

impl JsonSchema for WebhookClientConfig

Available on crate feature schemars only.
Source§

impl JsonSchema for ApplyConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for JSONPatch

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchResources

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingAdmissionPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingAdmissionPolicyBinding

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingAdmissionPolicyBindingSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for MutatingAdmissionPolicySpec

Available on crate feature schemars only.
Source§

impl JsonSchema for Mutation

Available on crate feature schemars only.
Source§

impl JsonSchema for NamedRuleWithOperations

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamKind

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamRef

Available on crate feature schemars only.
Source§

impl JsonSchema for Variable

Available on crate feature schemars only.
Source§

impl JsonSchema for AuditAnnotation

Available on crate feature schemars only.
Source§

impl JsonSchema for ExpressionWarning

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for MatchResources

Available on crate feature schemars only.
Source§

impl JsonSchema for NamedRuleWithOperations

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamKind

Available on crate feature schemars only.
Source§

impl JsonSchema for ParamRef

Available on crate feature schemars only.
Source§

impl JsonSchema for TypeChecking

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyBinding

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyBindingSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicySpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidatingAdmissionPolicyStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for Validation

Available on crate feature schemars only.
Source§

impl JsonSchema for Variable

Available on crate feature schemars only.
Source§

impl JsonSchema for ServerStorageVersion

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersion

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ControllerRevision

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonSet

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonSetCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonSetSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonSetStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonSetUpdateStrategy

Available on crate feature schemars only.
Source§

impl JsonSchema for Deployment

Available on crate feature schemars only.
Source§

impl JsonSchema for DeploymentCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for DeploymentSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for DeploymentStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for DeploymentStrategy

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicaSet

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicaSetCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicaSetSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicaSetStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for RollingUpdateDaemonSet

Available on crate feature schemars only.
Source§

impl JsonSchema for RollingUpdateDeployment

Available on crate feature schemars only.
Source§

impl JsonSchema for RollingUpdateStatefulSetStrategy

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSet

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetOrdinals

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetPersistentVolumeClaimRetentionPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for StatefulSetUpdateStrategy

Available on crate feature schemars only.
Source§

impl JsonSchema for BoundObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectReview

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectReviewStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenRequest

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenRequestSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenRequestStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenReview

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenReviewSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenReviewStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for UserInfo

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectReview

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectReviewStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for FieldSelectorAttributes

Available on crate feature schemars only.
Source§

impl JsonSchema for LabelSelectorAttributes

Available on crate feature schemars only.
Source§

impl JsonSchema for LocalSubjectAccessReview

Available on crate feature schemars only.
Source§

impl JsonSchema for NonResourceAttributes

Available on crate feature schemars only.
Source§

impl JsonSchema for NonResourceRule

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceAttributes

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceRule

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectAccessReview

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectAccessReviewSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectRulesReview

Available on crate feature schemars only.
Source§

impl JsonSchema for SelfSubjectRulesReviewSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for SubjectAccessReview

Available on crate feature schemars only.
Source§

impl JsonSchema for SubjectAccessReviewSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for SubjectAccessReviewStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for SubjectRulesReviewStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CrossVersionObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscaler

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for Scale

Available on crate feature schemars only.
Source§

impl JsonSchema for ScaleSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ScaleStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerResourceMetricSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerResourceMetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CrossVersionObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for ExternalMetricSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ExternalMetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscaler

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerBehavior

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for HorizontalPodAutoscalerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for HPAScalingPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for HPAScalingRules

Available on crate feature schemars only.
Source§

impl JsonSchema for MetricIdentifier

Available on crate feature schemars only.
Source§

impl JsonSchema for MetricSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for MetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for MetricTarget

Available on crate feature schemars only.
Source§

impl JsonSchema for MetricValueStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ObjectMetricSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ObjectMetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PodsMetricSource

Available on crate feature schemars only.
Source§

impl JsonSchema for PodsMetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceMetricSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceMetricStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CronJob

Available on crate feature schemars only.
Source§

impl JsonSchema for CronJobSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for CronJobStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for Job

Available on crate feature schemars only.
Source§

impl JsonSchema for JobCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for JobSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for JobStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for JobTemplateSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PodFailurePolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for PodFailurePolicyOnExitCodesRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for PodFailurePolicyOnPodConditionsPattern

Available on crate feature schemars only.
Source§

impl JsonSchema for PodFailurePolicyRule

Available on crate feature schemars only.
Source§

impl JsonSchema for SuccessPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for SuccessPolicyRule

Available on crate feature schemars only.
Source§

impl JsonSchema for UncountedTerminatedPods

Available on crate feature schemars only.
Source§

impl JsonSchema for CertificateSigningRequest

Available on crate feature schemars only.
Source§

impl JsonSchema for CertificateSigningRequestCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for CertificateSigningRequestSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for CertificateSigningRequestStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ClusterTrustBundle

Available on crate feature schemars only.
Source§

impl JsonSchema for ClusterTrustBundleSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for Lease

Available on crate feature schemars only.
Source§

impl JsonSchema for LeaseSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for LeaseCandidate

Available on crate feature schemars only.
Source§

impl JsonSchema for LeaseCandidateSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for Affinity

Available on crate feature schemars only.
Source§

impl JsonSchema for AppArmorProfile

Available on crate feature schemars only.
Source§

impl JsonSchema for AttachedVolume

Available on crate feature schemars only.
Source§

impl JsonSchema for AWSElasticBlockStoreVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for AzureDiskVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for AzureFilePersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for AzureFileVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Binding

Available on crate feature schemars only.
Source§

impl JsonSchema for Capabilities

Available on crate feature schemars only.
Source§

impl JsonSchema for CephFSPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for CephFSVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for CinderPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for CinderVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ClientIPConfig

Available on crate feature schemars only.
Source§

impl JsonSchema for ClusterTrustBundleProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for ComponentCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for ComponentStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMap

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMapEnvSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMapKeySelector

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMapNodeConfigSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMapProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for ConfigMapVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Container

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerImage

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerPort

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerResizePolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerState

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerStateRunning

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerStateTerminated

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerStateWaiting

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ContainerUser

Available on crate feature schemars only.
Source§

impl JsonSchema for CSIPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for CSIVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for DaemonEndpoint

Available on crate feature schemars only.
Source§

impl JsonSchema for DownwardAPIProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for DownwardAPIVolumeFile

Available on crate feature schemars only.
Source§

impl JsonSchema for DownwardAPIVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for EmptyDirVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointAddress

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointPort

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointSubset

Available on crate feature schemars only.
Source§

impl JsonSchema for Endpoints

Available on crate feature schemars only.
Source§

impl JsonSchema for EnvFromSource

Available on crate feature schemars only.
Source§

impl JsonSchema for EnvVar

Available on crate feature schemars only.
Source§

impl JsonSchema for EnvVarSource

Available on crate feature schemars only.
Source§

impl JsonSchema for EphemeralContainer

Available on crate feature schemars only.
Source§

impl JsonSchema for EphemeralVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Event

Available on crate feature schemars only.
Source§

impl JsonSchema for EventSeries

Available on crate feature schemars only.
Source§

impl JsonSchema for EventSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ExecAction

Available on crate feature schemars only.
Source§

impl JsonSchema for FCVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for FlexPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for FlexVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for FlockerVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for GCEPersistentDiskVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for GitRepoVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for GlusterfsPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for GlusterfsVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for GRPCAction

Available on crate feature schemars only.
Source§

impl JsonSchema for HostAlias

Available on crate feature schemars only.
Source§

impl JsonSchema for HostIP

Available on crate feature schemars only.
Source§

impl JsonSchema for HostPathVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for HTTPGetAction

Available on crate feature schemars only.
Source§

impl JsonSchema for HTTPHeader

Available on crate feature schemars only.
Source§

impl JsonSchema for ImageVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ISCSIPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ISCSIVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for KeyToPath

Available on crate feature schemars only.
Source§

impl JsonSchema for Lifecycle

Available on crate feature schemars only.
Source§

impl JsonSchema for LifecycleHandler

Available on crate feature schemars only.
Source§

impl JsonSchema for LimitRange

Available on crate feature schemars only.
Source§

impl JsonSchema for LimitRangeItem

Available on crate feature schemars only.
Source§

impl JsonSchema for LimitRangeSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for LinuxContainerUser

Available on crate feature schemars only.
Source§

impl JsonSchema for LoadBalancerIngress

Available on crate feature schemars only.
Source§

impl JsonSchema for LoadBalancerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for LocalObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for LocalVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ModifyVolumeStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for Namespace

Available on crate feature schemars only.
Source§

impl JsonSchema for NamespaceCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for NamespaceSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for NamespaceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for NFSVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Node

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeAddress

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeAffinity

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeConfigSource

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeConfigStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeDaemonEndpoints

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeFeatures

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeRuntimeHandler

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeRuntimeHandlerFeatures

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeSelectorRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeSelectorTerm

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for NodeSystemInfo

Available on crate feature schemars only.
Source§

impl JsonSchema for ObjectFieldSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for ObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolume

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaimCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaimSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaimStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaimTemplate

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeClaimVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PersistentVolumeStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PhotonPersistentDiskVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Pod

Available on crate feature schemars only.
Source§

impl JsonSchema for PodAffinity

Available on crate feature schemars only.
Source§

impl JsonSchema for PodAffinityTerm

Available on crate feature schemars only.
Source§

impl JsonSchema for PodAntiAffinity

Available on crate feature schemars only.
Source§

impl JsonSchema for PodCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for PodDNSConfig

Available on crate feature schemars only.
Source§

impl JsonSchema for PodDNSConfigOption

Available on crate feature schemars only.
Source§

impl JsonSchema for PodIP

Available on crate feature schemars only.
Source§

impl JsonSchema for PodOS

Available on crate feature schemars only.
Source§

impl JsonSchema for PodReadinessGate

Available on crate feature schemars only.
Source§

impl JsonSchema for PodResourceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for PodResourceClaimStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PodSchedulingGate

Available on crate feature schemars only.
Source§

impl JsonSchema for PodSecurityContext

Available on crate feature schemars only.
Source§

impl JsonSchema for PodSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PodStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PodTemplate

Available on crate feature schemars only.
Source§

impl JsonSchema for PodTemplateSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PortStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for PortworxVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for PreferredSchedulingTerm

Available on crate feature schemars only.
Source§

impl JsonSchema for Probe

Available on crate feature schemars only.
Source§

impl JsonSchema for ProjectedVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for QuobyteVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for RBDPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for RBDVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicationController

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicationControllerCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicationControllerSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ReplicationControllerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceFieldSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceHealth

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceQuota

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceQuotaSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceQuotaStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceRequirements

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ScaleIOPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ScaleIOVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for ScopeSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for ScopedResourceSelectorRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for SELinuxOptions

Available on crate feature schemars only.
Source§

impl JsonSchema for SeccompProfile

Available on crate feature schemars only.
Source§

impl JsonSchema for Secret

Available on crate feature schemars only.
Source§

impl JsonSchema for SecretEnvSource

Available on crate feature schemars only.
Source§

impl JsonSchema for SecretKeySelector

Available on crate feature schemars only.
Source§

impl JsonSchema for SecretProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for SecretReference

Available on crate feature schemars only.
Source§

impl JsonSchema for SecretVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for SecurityContext

Available on crate feature schemars only.
Source§

impl JsonSchema for Service

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceAccount

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceAccountTokenProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for ServicePort

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for SessionAffinityConfig

Available on crate feature schemars only.
Source§

impl JsonSchema for SleepAction

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageOSPersistentVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageOSVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for Sysctl

Available on crate feature schemars only.
Source§

impl JsonSchema for Taint

Available on crate feature schemars only.
Source§

impl JsonSchema for TCPSocketAction

Available on crate feature schemars only.
Source§

impl JsonSchema for Toleration

Available on crate feature schemars only.
Source§

impl JsonSchema for TopologySelectorLabelRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for TopologySelectorTerm

Available on crate feature schemars only.
Source§

impl JsonSchema for TopologySpreadConstraint

Available on crate feature schemars only.
Source§

impl JsonSchema for TypedLocalObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for TypedObjectReference

Available on crate feature schemars only.
Source§

impl JsonSchema for Volume

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeDevice

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeMount

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeMountStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeNodeAffinity

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeProjection

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeResourceRequirements

Available on crate feature schemars only.
Source§

impl JsonSchema for VsphereVirtualDiskVolumeSource

Available on crate feature schemars only.
Source§

impl JsonSchema for WeightedPodAffinityTerm

Available on crate feature schemars only.
Source§

impl JsonSchema for WindowsSecurityContextOptions

Available on crate feature schemars only.
Source§

impl JsonSchema for Endpoint

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointConditions

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointHints

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointPort

Available on crate feature schemars only.
Source§

impl JsonSchema for EndpointSlice

Available on crate feature schemars only.
Source§

impl JsonSchema for ForZone

Available on crate feature schemars only.
Source§

impl JsonSchema for Event

Available on crate feature schemars only.
Source§

impl JsonSchema for EventSeries

Available on crate feature schemars only.
Source§

impl JsonSchema for ExemptPriorityLevelConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for FlowDistinguisherMethod

Available on crate feature schemars only.
Source§

impl JsonSchema for FlowSchema

Available on crate feature schemars only.
Source§

impl JsonSchema for FlowSchemaCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for FlowSchemaSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for FlowSchemaStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for GroupSubject

Available on crate feature schemars only.
Source§

impl JsonSchema for LimitResponse

Available on crate feature schemars only.
Source§

impl JsonSchema for LimitedPriorityLevelConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for NonResourcePolicyRule

Available on crate feature schemars only.
Source§

impl JsonSchema for PolicyRulesWithSubjects

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityLevelConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityLevelConfigurationCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityLevelConfigurationReference

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityLevelConfigurationSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityLevelConfigurationStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for QueuingConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourcePolicyRule

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceAccountSubject

Available on crate feature schemars only.
Source§

impl JsonSchema for Subject

Available on crate feature schemars only.
Source§

impl JsonSchema for UserSubject

Available on crate feature schemars only.
Source§

impl JsonSchema for HTTPIngressPath

Available on crate feature schemars only.
Source§

impl JsonSchema for HTTPIngressRuleValue

Available on crate feature schemars only.
Source§

impl JsonSchema for Ingress

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressBackend

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressClass

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressClassParametersReference

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressClassSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressLoadBalancerIngress

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressLoadBalancerStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressPortStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressRule

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressServiceBackend

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for IngressTLS

Available on crate feature schemars only.
Source§

impl JsonSchema for IPBlock

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicy

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicyEgressRule

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicyIngressRule

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicyPeer

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicyPort

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkPolicySpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceBackendPort

Available on crate feature schemars only.
Source§

impl JsonSchema for IPAddress

Available on crate feature schemars only.
Source§

impl JsonSchema for IPAddressSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ParentReference

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceCIDR

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceCIDRSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceCIDRStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for Overhead

Available on crate feature schemars only.
Source§

impl JsonSchema for RuntimeClass

Available on crate feature schemars only.
Source§

impl JsonSchema for Scheduling

Available on crate feature schemars only.
Source§

impl JsonSchema for Eviction

Available on crate feature schemars only.
Source§

impl JsonSchema for PodDisruptionBudget

Available on crate feature schemars only.
Source§

impl JsonSchema for PodDisruptionBudgetSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PodDisruptionBudgetStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for AggregationRule

Available on crate feature schemars only.
Source§

impl JsonSchema for ClusterRole

Available on crate feature schemars only.
Source§

impl JsonSchema for ClusterRoleBinding

Available on crate feature schemars only.
Source§

impl JsonSchema for PolicyRule

Available on crate feature schemars only.
Source§

impl JsonSchema for Role

Available on crate feature schemars only.
Source§

impl JsonSchema for RoleBinding

Available on crate feature schemars only.
Source§

impl JsonSchema for RoleRef

Available on crate feature schemars only.
Source§

impl JsonSchema for Subject

Available on crate feature schemars only.
Source§

impl JsonSchema for AllocatedDeviceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for AllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for BasicDevice

Available on crate feature schemars only.
Source§

impl JsonSchema for CELDeviceSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for Device

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAllocationConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAttribute

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClaimConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClass

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClassConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClassSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceConstraint

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceRequest

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceRequestAllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkDeviceData

Available on crate feature schemars only.
Source§

impl JsonSchema for OpaqueDeviceConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimConsumerReference

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimTemplate

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimTemplateSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourcePool

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceSlice

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceSliceSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for AllocatedDeviceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for AllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for BasicDevice

Available on crate feature schemars only.
Source§

impl JsonSchema for CELDeviceSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for Device

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAllocationConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceAttribute

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceCapacity

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClaimConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClass

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClassConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceClassSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceConstraint

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceRequest

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceRequestAllocationResult

Available on crate feature schemars only.
Source§

impl JsonSchema for DeviceSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for NetworkDeviceData

Available on crate feature schemars only.
Source§

impl JsonSchema for OpaqueDeviceConfiguration

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaim

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimConsumerReference

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimTemplate

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceClaimTemplateSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourcePool

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceSlice

Available on crate feature schemars only.
Source§

impl JsonSchema for ResourceSliceSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for PriorityClass

Available on crate feature schemars only.
Source§

impl JsonSchema for CSIDriver

Available on crate feature schemars only.
Source§

impl JsonSchema for CSIDriverSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for CSINode

Available on crate feature schemars only.
Source§

impl JsonSchema for CSINodeDriver

Available on crate feature schemars only.
Source§

impl JsonSchema for CSINodeSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for CSIStorageCapacity

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageClass

Available on crate feature schemars only.
Source§

impl JsonSchema for TokenRequest

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttachment

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttachmentSource

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttachmentSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttachmentStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeError

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeNodeResources

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttributesClass

Available on crate feature schemars only.
Source§

impl JsonSchema for VolumeAttributesClass

Available on crate feature schemars only.
Source§

impl JsonSchema for GroupVersionResource

Available on crate feature schemars only.
Source§

impl JsonSchema for MigrationCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionMigration

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionMigrationSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for StorageVersionMigrationStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceColumnDefinition

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceConversion

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinition

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinitionCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinitionNames

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinitionSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinitionStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceDefinitionVersion

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceSubresourceScale

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceSubresourceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceSubresources

Available on crate feature schemars only.
Source§

impl JsonSchema for CustomResourceValidation

Available on crate feature schemars only.
Source§

impl JsonSchema for ExternalDocumentation

Available on crate feature schemars only.
Source§

impl JsonSchema for JSON

Available on crate feature schemars only.
Source§

impl JsonSchema for JSONSchemaProps

Available on crate feature schemars only.
Source§

impl JsonSchema for SelectableField

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceReference

Available on crate feature schemars only.
Source§

impl JsonSchema for ValidationRule

Available on crate feature schemars only.
Source§

impl JsonSchema for WebhookClientConfig

Available on crate feature schemars only.
Source§

impl JsonSchema for WebhookConversion

Available on crate feature schemars only.
Source§

impl JsonSchema for Quantity

Available on crate feature schemars only.
Source§

impl JsonSchema for APIGroup

Available on crate feature schemars only.
Source§

impl JsonSchema for APIGroupList

Available on crate feature schemars only.
Source§

impl JsonSchema for APIResource

Available on crate feature schemars only.
Source§

impl JsonSchema for APIResourceList

Available on crate feature schemars only.
Source§

impl JsonSchema for APIVersions

Available on crate feature schemars only.
Source§

impl JsonSchema for DeleteOptions

Available on crate feature schemars only.
Source§

impl JsonSchema for FieldSelectorRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for FieldsV1

Available on crate feature schemars only.
Source§

impl JsonSchema for GroupVersionForDiscovery

Available on crate feature schemars only.
Source§

impl JsonSchema for LabelSelector

Available on crate feature schemars only.
Source§

impl JsonSchema for LabelSelectorRequirement

Available on crate feature schemars only.
Source§

impl JsonSchema for ListMeta

Available on crate feature schemars only.
Source§

impl JsonSchema for ManagedFieldsEntry

Available on crate feature schemars only.
Source§

impl JsonSchema for MicroTime

Available on crate feature schemars only.
Source§

impl JsonSchema for ObjectMeta

Available on crate feature schemars only.
Source§

impl JsonSchema for OwnerReference

Available on crate feature schemars only.
Source§

impl JsonSchema for Preconditions

Available on crate feature schemars only.
Source§

impl JsonSchema for ServerAddressByClientCIDR

Available on crate feature schemars only.
Source§

impl JsonSchema for Status

Available on crate feature schemars only.
Source§

impl JsonSchema for StatusCause

Available on crate feature schemars only.
Source§

impl JsonSchema for StatusDetails

Available on crate feature schemars only.
Source§

impl JsonSchema for Time

Available on crate feature schemars only.
Source§

impl JsonSchema for RawExtension

Available on crate feature schemars only.
Source§

impl JsonSchema for Info

Available on crate feature schemars only.
Source§

impl JsonSchema for APIService

Available on crate feature schemars only.
Source§

impl JsonSchema for APIServiceCondition

Available on crate feature schemars only.
Source§

impl JsonSchema for APIServiceSpec

Available on crate feature schemars only.
Source§

impl JsonSchema for APIServiceStatus

Available on crate feature schemars only.
Source§

impl JsonSchema for ServiceReference

Available on crate feature schemars only.
Source§

impl JsonSchema for Duration

Available on crate feature schema only.
Source§

impl JsonSchema for Map<String, Value>

Source§

impl JsonSchema for Number

Source§

impl JsonSchema for Uuid

Source§

impl JsonSchema for CString

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl JsonSchema for String

Source§

impl JsonSchema for CStr

Source§

impl JsonSchema for Ipv4Addr

Source§

impl JsonSchema for Ipv6Addr

Source§

impl JsonSchema for SocketAddrV4

Source§

impl JsonSchema for SocketAddrV6

Source§

impl JsonSchema for NonZero<i8>

Source§

impl JsonSchema for NonZero<i16>

Source§

impl JsonSchema for NonZero<i32>

Source§

impl JsonSchema for NonZero<i64>

Source§

impl JsonSchema for NonZero<i128>

Source§

impl JsonSchema for NonZero<isize>

Source§

impl JsonSchema for NonZero<u8>

Source§

impl JsonSchema for NonZero<u16>

Source§

impl JsonSchema for NonZero<u32>

Source§

impl JsonSchema for NonZero<u64>

Source§

impl JsonSchema for NonZero<u128>

Source§

impl JsonSchema for NonZero<usize>

Source§

impl JsonSchema for AtomicBool

Source§

impl JsonSchema for AtomicI8

Source§

impl JsonSchema for AtomicI16

Source§

impl JsonSchema for AtomicI32

Source§

impl JsonSchema for AtomicI64

Source§

impl JsonSchema for AtomicIsize

Source§

impl JsonSchema for AtomicU8

Source§

impl JsonSchema for AtomicU16

Source§

impl JsonSchema for AtomicU32

Source§

impl JsonSchema for AtomicU64

Source§

impl JsonSchema for AtomicUsize

Source§

impl JsonSchema for Duration

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl JsonSchema for OsStr

Source§

impl JsonSchema for OsString

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl JsonSchema for Path

Source§

impl JsonSchema for PathBuf

Source§

impl JsonSchema for SystemTime

Available on crate feature std only.
Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl<'a> JsonSchema for Arguments<'a>

Source§

impl<'a, T> JsonSchema for Cow<'a, T>
where T: ToOwned + JsonSchema + ?Sized,

Source§

impl<'a, T> JsonSchema for &'a T
where T: JsonSchema + ?Sized,

Source§

impl<'a, T> JsonSchema for &'a mut T
where T: JsonSchema + ?Sized,

Source§

impl<K, V, H> JsonSchema for HashMap<K, V, H>
where K: JsonSchema, V: JsonSchema,

Source§

impl<T0> JsonSchema for (T0,)
where T0: JsonSchema,

Source§

impl<T0, T1> JsonSchema for (T0, T1)
where T0: JsonSchema, T1: JsonSchema,

Source§

impl<T0, T1, T2> JsonSchema for (T0, T1, T2)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema,

Source§

impl<T0, T1, T2, T3> JsonSchema for (T0, T1, T2, T3)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema,

Source§

impl<T0, T1, T2, T3, T4> JsonSchema for (T0, T1, T2, T3, T4)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema, T4: JsonSchema,

Source§

impl<T0, T1, T2, T3, T4, T5> JsonSchema for (T0, T1, T2, T3, T4, T5)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema, T4: JsonSchema, T5: JsonSchema,

Source§

impl<T0, T1, T2, T3, T4, T5, T6> JsonSchema for (T0, T1, T2, T3, T4, T5, T6)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema, T4: JsonSchema, T5: JsonSchema, T6: JsonSchema,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema, T4: JsonSchema, T5: JsonSchema, T6: JsonSchema, T7: JsonSchema, T8: JsonSchema, T9: JsonSchema, T10: JsonSchema, T11: JsonSchema, T12: JsonSchema, T13: JsonSchema, T14: JsonSchema,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> JsonSchema for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: JsonSchema, T1: JsonSchema, T2: JsonSchema, T3: JsonSchema, T4: JsonSchema, T5: JsonSchema, T6: JsonSchema, T7: JsonSchema, T8: JsonSchema, T9: JsonSchema, T10: JsonSchema, T11: JsonSchema, T12: JsonSchema, T13: JsonSchema, T14: JsonSchema, T15: JsonSchema,

Source§

impl<T> JsonSchema for WatchEvent<T>

Available on crate feature schemars only.
Source§

impl<T> JsonSchema for Bound<T>
where T: JsonSchema,

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl<T> JsonSchema for Option<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 0]

Source§

impl<T> JsonSchema for [T; 1]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 2]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 3]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 4]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 5]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 6]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 7]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 8]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 9]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 10]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 11]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 12]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 13]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 14]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 15]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 16]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 17]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 18]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 19]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 20]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 21]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 22]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 23]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 24]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 25]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 26]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 27]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 28]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 29]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 30]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 31]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T; 32]
where T: JsonSchema,

Source§

impl<T> JsonSchema for [T]
where T: JsonSchema,

Source§

impl<T> JsonSchema for Box<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for BinaryHeap<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for BTreeSet<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for LinkedList<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for VecDeque<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for Rc<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for Weak<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for Arc<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for Weak<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for Vec<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for Cell<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for RefCell<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for Reverse<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for PhantomData<T>
where T: ?Sized,

Source§

impl<T> JsonSchema for Wrapping<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for Range<T>
where T: JsonSchema,

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl<T> JsonSchema for RangeInclusive<T>
where T: JsonSchema,

Source§

impl<T> JsonSchema for Mutex<T>
where T: JsonSchema + ?Sized,

Source§

impl<T> JsonSchema for RwLock<T>
where T: JsonSchema + ?Sized,

Source§

impl<T, E> JsonSchema for Result<T, E>
where T: JsonSchema, E: JsonSchema,

Source§

fn schema_name() -> Cow<'static, str>

Source§

fn schema_id() -> Cow<'static, str>

Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Source§

impl<T, H> JsonSchema for HashSet<T, H>
where T: JsonSchema,

Implementors§

Source§

impl JsonSchema for HttpConnectionScheme

Source§

impl JsonSchema for MaterializeRolloutStrategy

Source§

impl JsonSchema for VpcEndpointState

Source§

impl JsonSchema for CertificateAdditionalOutputFormatsType

Source§

impl JsonSchema for CertificateKeystoresPkcs12Profile

Source§

impl JsonSchema for CertificatePrivateKeyAlgorithm

Source§

impl JsonSchema for CertificatePrivateKeyEncoding

Source§

impl JsonSchema for CertificatePrivateKeyRotationPolicy

Source§

impl JsonSchema for Schema

Source§

impl JsonSchema for Balancer

Source§

impl JsonSchema for BalancerSpec

Source§

impl JsonSchema for BalancerStatus

Source§

impl JsonSchema for FronteggRoutingConfig

Source§

impl JsonSchema for StaticRoutingConfig

Source§

impl JsonSchema for BalancerdRef

Source§

impl JsonSchema for Console

Source§

impl JsonSchema for ConsoleSpec

Source§

impl JsonSchema for ConsoleStatus

Source§

impl JsonSchema for Materialize

Source§

impl JsonSchema for MaterializeSpec

Source§

impl JsonSchema for MaterializeStatus

Source§

impl JsonSchema for MaterializeCertSpec

Source§

impl JsonSchema for VpcEndpoint

Source§

impl JsonSchema for VpcEndpointSpec

Source§

impl JsonSchema for VpcEndpointStatus

Source§

impl JsonSchema for CertificateAdditionalOutputFormats

Source§

impl JsonSchema for CertificateIssuerRef

Source§

impl JsonSchema for CertificateKeystores

Source§

impl JsonSchema for CertificateKeystoresJks

Source§

impl JsonSchema for CertificateKeystoresJksPasswordSecretRef

Source§

impl JsonSchema for CertificateKeystoresPkcs12

Source§

impl JsonSchema for CertificateKeystoresPkcs12PasswordSecretRef

Source§

impl JsonSchema for CertificateNameConstraints

Source§

impl JsonSchema for CertificateNameConstraintsExcluded

Source§

impl JsonSchema for CertificateNameConstraintsPermitted

Source§

impl JsonSchema for CertificateOtherNames

Source§

impl JsonSchema for CertificatePrivateKey

Source§

impl JsonSchema for CertificateSecretTemplate

Source§

impl JsonSchema for CertificateSpec

Source§

impl JsonSchema for CertificateStatus

Source§

impl JsonSchema for CertificateSubject

Source§

impl JsonSchema for Condition

Available on crate feature schemars only.
Source§

impl<K, V> JsonSchema for BTreeMap<K, V>
where K: JsonSchema, V: JsonSchema,