pub trait JsonSchema {
    // Required methods
    fn schema_name() -> String;
    fn json_schema(gen: &mut SchemaGenerator) -> Schema;

    // Provided method
    fn is_referenceable() -> bool { ... }
}
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)].

§Example

use schemars::{schema_for, JsonSchema};

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

let my_schema = schema_for!(MyStruct);

Required Methods§

source

fn schema_name() -> String

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(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type.

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

This should not return a $ref schema.

Provided Methods§

source

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword.

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

By default, this returns true.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl JsonSchema for JSONSchemaPropsOrArray

source§

impl JsonSchema for JSONSchemaPropsOrBool

source§

impl JsonSchema for JSONSchemaPropsOrStringArray

source§

impl JsonSchema for Patch

source§

impl JsonSchema for IntOrString

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 MatchCondition

source§

impl JsonSchema for MutatingWebhook

source§

impl JsonSchema for MutatingWebhookConfiguration

source§

impl JsonSchema for RuleWithOperations

source§

impl JsonSchema for ServiceReference

source§

impl JsonSchema for ValidatingWebhook

source§

impl JsonSchema for ValidatingWebhookConfiguration

source§

impl JsonSchema for WebhookClientConfig

source§

impl JsonSchema for AuditAnnotation

source§

impl JsonSchema for ExpressionWarning

source§

impl JsonSchema for MatchCondition

source§

impl JsonSchema for MatchResources

source§

impl JsonSchema for NamedRuleWithOperations

source§

impl JsonSchema for ParamKind

source§

impl JsonSchema for ParamRef

source§

impl JsonSchema for TypeChecking

source§

impl JsonSchema for ValidatingAdmissionPolicy

source§

impl JsonSchema for ValidatingAdmissionPolicyBinding

source§

impl JsonSchema for ValidatingAdmissionPolicyBindingSpec

source§

impl JsonSchema for ValidatingAdmissionPolicySpec

source§

impl JsonSchema for ValidatingAdmissionPolicyStatus

source§

impl JsonSchema for Validation

source§

impl JsonSchema for Variable

source§

impl JsonSchema for AuditAnnotation

source§

impl JsonSchema for ExpressionWarning

source§

impl JsonSchema for MatchCondition

source§

impl JsonSchema for MatchResources

source§

impl JsonSchema for NamedRuleWithOperations

source§

impl JsonSchema for ParamKind

source§

impl JsonSchema for ParamRef

source§

impl JsonSchema for TypeChecking

source§

impl JsonSchema for ValidatingAdmissionPolicy

source§

impl JsonSchema for ValidatingAdmissionPolicyBinding

source§

impl JsonSchema for ValidatingAdmissionPolicyBindingSpec

source§

impl JsonSchema for ValidatingAdmissionPolicySpec

source§

impl JsonSchema for ValidatingAdmissionPolicyStatus

source§

impl JsonSchema for Validation

source§

impl JsonSchema for Variable

source§

impl JsonSchema for ServerStorageVersion

source§

impl JsonSchema for StorageVersion

source§

impl JsonSchema for StorageVersionCondition

source§

impl JsonSchema for StorageVersionSpec

source§

impl JsonSchema for StorageVersionStatus

source§

impl JsonSchema for ControllerRevision

source§

impl JsonSchema for DaemonSet

source§

impl JsonSchema for DaemonSetCondition

source§

impl JsonSchema for DaemonSetSpec

source§

impl JsonSchema for DaemonSetStatus

source§

impl JsonSchema for DaemonSetUpdateStrategy

source§

impl JsonSchema for Deployment

source§

impl JsonSchema for DeploymentCondition

source§

impl JsonSchema for DeploymentSpec

source§

impl JsonSchema for DeploymentStatus

source§

impl JsonSchema for DeploymentStrategy

source§

impl JsonSchema for ReplicaSet

source§

impl JsonSchema for ReplicaSetCondition

source§

impl JsonSchema for ReplicaSetSpec

source§

impl JsonSchema for ReplicaSetStatus

source§

impl JsonSchema for RollingUpdateDaemonSet

source§

impl JsonSchema for RollingUpdateDeployment

source§

impl JsonSchema for RollingUpdateStatefulSetStrategy

source§

impl JsonSchema for StatefulSet

source§

impl JsonSchema for StatefulSetCondition

source§

impl JsonSchema for StatefulSetOrdinals

source§

impl JsonSchema for StatefulSetPersistentVolumeClaimRetentionPolicy

source§

impl JsonSchema for StatefulSetSpec

source§

impl JsonSchema for StatefulSetStatus

source§

impl JsonSchema for StatefulSetUpdateStrategy

source§

impl JsonSchema for BoundObjectReference

source§

impl JsonSchema for SelfSubjectReview

source§

impl JsonSchema for SelfSubjectReviewStatus

source§

impl JsonSchema for TokenRequest

source§

impl JsonSchema for TokenRequestSpec

source§

impl JsonSchema for TokenRequestStatus

source§

impl JsonSchema for TokenReview

source§

impl JsonSchema for TokenReviewSpec

source§

impl JsonSchema for TokenReviewStatus

source§

impl JsonSchema for UserInfo

source§

impl JsonSchema for SelfSubjectReview

source§

impl JsonSchema for SelfSubjectReviewStatus

source§

impl JsonSchema for SelfSubjectReview

source§

impl JsonSchema for SelfSubjectReviewStatus

source§

impl JsonSchema for LocalSubjectAccessReview

source§

impl JsonSchema for NonResourceAttributes

source§

impl JsonSchema for NonResourceRule

source§

impl JsonSchema for ResourceAttributes

source§

impl JsonSchema for ResourceRule

source§

impl JsonSchema for SelfSubjectAccessReview

source§

impl JsonSchema for SelfSubjectAccessReviewSpec

source§

impl JsonSchema for SelfSubjectRulesReview

source§

impl JsonSchema for SelfSubjectRulesReviewSpec

source§

impl JsonSchema for SubjectAccessReview

source§

impl JsonSchema for SubjectAccessReviewSpec

source§

impl JsonSchema for SubjectAccessReviewStatus

source§

impl JsonSchema for SubjectRulesReviewStatus

source§

impl JsonSchema for CrossVersionObjectReference

source§

impl JsonSchema for HorizontalPodAutoscaler

source§

impl JsonSchema for HorizontalPodAutoscalerSpec

source§

impl JsonSchema for HorizontalPodAutoscalerStatus

source§

impl JsonSchema for Scale

source§

impl JsonSchema for ScaleSpec

source§

impl JsonSchema for ScaleStatus

source§

impl JsonSchema for ContainerResourceMetricSource

source§

impl JsonSchema for ContainerResourceMetricStatus

source§

impl JsonSchema for CrossVersionObjectReference

source§

impl JsonSchema for ExternalMetricSource

source§

impl JsonSchema for ExternalMetricStatus

source§

impl JsonSchema for HorizontalPodAutoscaler

source§

impl JsonSchema for HorizontalPodAutoscalerBehavior

source§

impl JsonSchema for HorizontalPodAutoscalerCondition

source§

impl JsonSchema for HorizontalPodAutoscalerSpec

source§

impl JsonSchema for HorizontalPodAutoscalerStatus

source§

impl JsonSchema for HPAScalingPolicy

source§

impl JsonSchema for HPAScalingRules

source§

impl JsonSchema for MetricIdentifier

source§

impl JsonSchema for MetricSpec

source§

impl JsonSchema for MetricStatus

source§

impl JsonSchema for MetricTarget

source§

impl JsonSchema for MetricValueStatus

source§

impl JsonSchema for ObjectMetricSource

source§

impl JsonSchema for ObjectMetricStatus

source§

impl JsonSchema for PodsMetricSource

source§

impl JsonSchema for PodsMetricStatus

source§

impl JsonSchema for ResourceMetricSource

source§

impl JsonSchema for ResourceMetricStatus

source§

impl JsonSchema for CronJob

source§

impl JsonSchema for CronJobSpec

source§

impl JsonSchema for CronJobStatus

source§

impl JsonSchema for Job

source§

impl JsonSchema for JobCondition

source§

impl JsonSchema for JobSpec

source§

impl JsonSchema for JobStatus

source§

impl JsonSchema for JobTemplateSpec

source§

impl JsonSchema for PodFailurePolicy

source§

impl JsonSchema for PodFailurePolicyOnExitCodesRequirement

source§

impl JsonSchema for PodFailurePolicyOnPodConditionsPattern

source§

impl JsonSchema for PodFailurePolicyRule

source§

impl JsonSchema for UncountedTerminatedPods

source§

impl JsonSchema for CertificateSigningRequest

source§

impl JsonSchema for CertificateSigningRequestCondition

source§

impl JsonSchema for CertificateSigningRequestSpec

source§

impl JsonSchema for CertificateSigningRequestStatus

source§

impl JsonSchema for ClusterTrustBundle

source§

impl JsonSchema for ClusterTrustBundleSpec

source§

impl JsonSchema for Lease

source§

impl JsonSchema for LeaseSpec

source§

impl JsonSchema for Affinity

source§

impl JsonSchema for AttachedVolume

source§

impl JsonSchema for AWSElasticBlockStoreVolumeSource

source§

impl JsonSchema for AzureDiskVolumeSource

source§

impl JsonSchema for AzureFilePersistentVolumeSource

source§

impl JsonSchema for AzureFileVolumeSource

source§

impl JsonSchema for Binding

source§

impl JsonSchema for Capabilities

source§

impl JsonSchema for CephFSPersistentVolumeSource

source§

impl JsonSchema for CephFSVolumeSource

source§

impl JsonSchema for CinderPersistentVolumeSource

source§

impl JsonSchema for CinderVolumeSource

source§

impl JsonSchema for ClaimSource

source§

impl JsonSchema for ClientIPConfig

source§

impl JsonSchema for ClusterTrustBundleProjection

source§

impl JsonSchema for ComponentCondition

source§

impl JsonSchema for ComponentStatus

source§

impl JsonSchema for ConfigMap

source§

impl JsonSchema for ConfigMapEnvSource

source§

impl JsonSchema for ConfigMapKeySelector

source§

impl JsonSchema for ConfigMapNodeConfigSource

source§

impl JsonSchema for ConfigMapProjection

source§

impl JsonSchema for ConfigMapVolumeSource

source§

impl JsonSchema for Container

source§

impl JsonSchema for ContainerImage

source§

impl JsonSchema for ContainerPort

source§

impl JsonSchema for ContainerResizePolicy

source§

impl JsonSchema for ContainerState

source§

impl JsonSchema for ContainerStateRunning

source§

impl JsonSchema for ContainerStateTerminated

source§

impl JsonSchema for ContainerStateWaiting

source§

impl JsonSchema for ContainerStatus

source§

impl JsonSchema for CSIPersistentVolumeSource

source§

impl JsonSchema for CSIVolumeSource

source§

impl JsonSchema for DaemonEndpoint

source§

impl JsonSchema for DownwardAPIProjection

source§

impl JsonSchema for DownwardAPIVolumeFile

source§

impl JsonSchema for DownwardAPIVolumeSource

source§

impl JsonSchema for EmptyDirVolumeSource

source§

impl JsonSchema for EndpointAddress

source§

impl JsonSchema for EndpointPort

source§

impl JsonSchema for EndpointSubset

source§

impl JsonSchema for Endpoints

source§

impl JsonSchema for EnvFromSource

source§

impl JsonSchema for EnvVar

source§

impl JsonSchema for EnvVarSource

source§

impl JsonSchema for EphemeralContainer

source§

impl JsonSchema for EphemeralVolumeSource

source§

impl JsonSchema for Event

source§

impl JsonSchema for EventSeries

source§

impl JsonSchema for EventSource

source§

impl JsonSchema for ExecAction

source§

impl JsonSchema for FCVolumeSource

source§

impl JsonSchema for FlexPersistentVolumeSource

source§

impl JsonSchema for FlexVolumeSource

source§

impl JsonSchema for FlockerVolumeSource

source§

impl JsonSchema for GCEPersistentDiskVolumeSource

source§

impl JsonSchema for GitRepoVolumeSource

source§

impl JsonSchema for GlusterfsPersistentVolumeSource

source§

impl JsonSchema for GlusterfsVolumeSource

source§

impl JsonSchema for GRPCAction

source§

impl JsonSchema for HostAlias

source§

impl JsonSchema for HostIP

source§

impl JsonSchema for HostPathVolumeSource

source§

impl JsonSchema for HTTPGetAction

source§

impl JsonSchema for HTTPHeader

source§

impl JsonSchema for ISCSIPersistentVolumeSource

source§

impl JsonSchema for ISCSIVolumeSource

source§

impl JsonSchema for KeyToPath

source§

impl JsonSchema for Lifecycle

source§

impl JsonSchema for LifecycleHandler

source§

impl JsonSchema for LimitRange

source§

impl JsonSchema for LimitRangeItem

source§

impl JsonSchema for LimitRangeSpec

source§

impl JsonSchema for LoadBalancerIngress

source§

impl JsonSchema for LoadBalancerStatus

source§

impl JsonSchema for LocalObjectReference

source§

impl JsonSchema for LocalVolumeSource

source§

impl JsonSchema for ModifyVolumeStatus

source§

impl JsonSchema for Namespace

source§

impl JsonSchema for NamespaceCondition

source§

impl JsonSchema for NamespaceSpec

source§

impl JsonSchema for NamespaceStatus

source§

impl JsonSchema for NFSVolumeSource

source§

impl JsonSchema for Node

source§

impl JsonSchema for NodeAddress

source§

impl JsonSchema for NodeAffinity

source§

impl JsonSchema for NodeCondition

source§

impl JsonSchema for NodeConfigSource

source§

impl JsonSchema for NodeConfigStatus

source§

impl JsonSchema for NodeDaemonEndpoints

source§

impl JsonSchema for NodeSelector

source§

impl JsonSchema for NodeSelectorRequirement

source§

impl JsonSchema for NodeSelectorTerm

source§

impl JsonSchema for NodeSpec

source§

impl JsonSchema for NodeStatus

source§

impl JsonSchema for NodeSystemInfo

source§

impl JsonSchema for ObjectFieldSelector

source§

impl JsonSchema for ObjectReference

source§

impl JsonSchema for PersistentVolume

source§

impl JsonSchema for PersistentVolumeClaim

source§

impl JsonSchema for PersistentVolumeClaimCondition

source§

impl JsonSchema for PersistentVolumeClaimSpec

source§

impl JsonSchema for PersistentVolumeClaimStatus

source§

impl JsonSchema for PersistentVolumeClaimTemplate

source§

impl JsonSchema for PersistentVolumeClaimVolumeSource

source§

impl JsonSchema for PersistentVolumeSpec

source§

impl JsonSchema for PersistentVolumeStatus

source§

impl JsonSchema for PhotonPersistentDiskVolumeSource

source§

impl JsonSchema for Pod

source§

impl JsonSchema for PodAffinity

source§

impl JsonSchema for PodAffinityTerm

source§

impl JsonSchema for PodAntiAffinity

source§

impl JsonSchema for PodCondition

source§

impl JsonSchema for PodDNSConfig

source§

impl JsonSchema for PodDNSConfigOption

source§

impl JsonSchema for PodIP

source§

impl JsonSchema for PodOS

source§

impl JsonSchema for PodReadinessGate

source§

impl JsonSchema for PodResourceClaim

source§

impl JsonSchema for PodResourceClaimStatus

source§

impl JsonSchema for PodSchedulingGate

source§

impl JsonSchema for PodSecurityContext

source§

impl JsonSchema for PodSpec

source§

impl JsonSchema for PodStatus

source§

impl JsonSchema for PodTemplate

source§

impl JsonSchema for PodTemplateSpec

source§

impl JsonSchema for PortStatus

source§

impl JsonSchema for PortworxVolumeSource

source§

impl JsonSchema for PreferredSchedulingTerm

source§

impl JsonSchema for Probe

source§

impl JsonSchema for ProjectedVolumeSource

source§

impl JsonSchema for QuobyteVolumeSource

source§

impl JsonSchema for RBDPersistentVolumeSource

source§

impl JsonSchema for RBDVolumeSource

source§

impl JsonSchema for ReplicationController

source§

impl JsonSchema for ReplicationControllerCondition

source§

impl JsonSchema for ReplicationControllerSpec

source§

impl JsonSchema for ReplicationControllerStatus

source§

impl JsonSchema for ResourceClaim

source§

impl JsonSchema for ResourceFieldSelector

source§

impl JsonSchema for ResourceQuota

source§

impl JsonSchema for ResourceQuotaSpec

source§

impl JsonSchema for ResourceQuotaStatus

source§

impl JsonSchema for ResourceRequirements

source§

impl JsonSchema for ScaleIOPersistentVolumeSource

source§

impl JsonSchema for ScaleIOVolumeSource

source§

impl JsonSchema for ScopeSelector

source§

impl JsonSchema for ScopedResourceSelectorRequirement

source§

impl JsonSchema for SELinuxOptions

source§

impl JsonSchema for SeccompProfile

source§

impl JsonSchema for Secret

source§

impl JsonSchema for SecretEnvSource

source§

impl JsonSchema for SecretKeySelector

source§

impl JsonSchema for SecretProjection

source§

impl JsonSchema for SecretReference

source§

impl JsonSchema for SecretVolumeSource

source§

impl JsonSchema for SecurityContext

source§

impl JsonSchema for Service

source§

impl JsonSchema for ServiceAccount

source§

impl JsonSchema for ServiceAccountTokenProjection

source§

impl JsonSchema for ServicePort

source§

impl JsonSchema for ServiceSpec

source§

impl JsonSchema for ServiceStatus

source§

impl JsonSchema for SessionAffinityConfig

source§

impl JsonSchema for SleepAction

source§

impl JsonSchema for StorageOSPersistentVolumeSource

source§

impl JsonSchema for StorageOSVolumeSource

source§

impl JsonSchema for Sysctl

source§

impl JsonSchema for Taint

source§

impl JsonSchema for TCPSocketAction

source§

impl JsonSchema for Toleration

source§

impl JsonSchema for TopologySelectorLabelRequirement

source§

impl JsonSchema for TopologySelectorTerm

source§

impl JsonSchema for TopologySpreadConstraint

source§

impl JsonSchema for TypedLocalObjectReference

source§

impl JsonSchema for TypedObjectReference

source§

impl JsonSchema for Volume

source§

impl JsonSchema for VolumeDevice

source§

impl JsonSchema for VolumeMount

source§

impl JsonSchema for VolumeNodeAffinity

source§

impl JsonSchema for VolumeProjection

source§

impl JsonSchema for VolumeResourceRequirements

source§

impl JsonSchema for VsphereVirtualDiskVolumeSource

source§

impl JsonSchema for WeightedPodAffinityTerm

source§

impl JsonSchema for WindowsSecurityContextOptions

source§

impl JsonSchema for Endpoint

source§

impl JsonSchema for EndpointConditions

source§

impl JsonSchema for EndpointHints

source§

impl JsonSchema for EndpointPort

source§

impl JsonSchema for EndpointSlice

source§

impl JsonSchema for ForZone

source§

impl JsonSchema for Event

source§

impl JsonSchema for EventSeries

source§

impl JsonSchema for ExemptPriorityLevelConfiguration

source§

impl JsonSchema for FlowDistinguisherMethod

source§

impl JsonSchema for FlowSchema

source§

impl JsonSchema for FlowSchemaCondition

source§

impl JsonSchema for FlowSchemaSpec

source§

impl JsonSchema for FlowSchemaStatus

source§

impl JsonSchema for GroupSubject

source§

impl JsonSchema for LimitResponse

source§

impl JsonSchema for LimitedPriorityLevelConfiguration

source§

impl JsonSchema for NonResourcePolicyRule

source§

impl JsonSchema for PolicyRulesWithSubjects

source§

impl JsonSchema for PriorityLevelConfiguration

source§

impl JsonSchema for PriorityLevelConfigurationCondition

source§

impl JsonSchema for PriorityLevelConfigurationReference

source§

impl JsonSchema for PriorityLevelConfigurationSpec

source§

impl JsonSchema for PriorityLevelConfigurationStatus

source§

impl JsonSchema for QueuingConfiguration

source§

impl JsonSchema for ResourcePolicyRule

source§

impl JsonSchema for ServiceAccountSubject

source§

impl JsonSchema for Subject

source§

impl JsonSchema for UserSubject

source§

impl JsonSchema for ExemptPriorityLevelConfiguration

source§

impl JsonSchema for FlowDistinguisherMethod

source§

impl JsonSchema for FlowSchema

source§

impl JsonSchema for FlowSchemaCondition

source§

impl JsonSchema for FlowSchemaSpec

source§

impl JsonSchema for FlowSchemaStatus

source§

impl JsonSchema for GroupSubject

source§

impl JsonSchema for LimitResponse

source§

impl JsonSchema for LimitedPriorityLevelConfiguration

source§

impl JsonSchema for NonResourcePolicyRule

source§

impl JsonSchema for PolicyRulesWithSubjects

source§

impl JsonSchema for PriorityLevelConfiguration

source§

impl JsonSchema for PriorityLevelConfigurationCondition

source§

impl JsonSchema for PriorityLevelConfigurationReference

source§

impl JsonSchema for PriorityLevelConfigurationSpec

source§

impl JsonSchema for PriorityLevelConfigurationStatus

source§

impl JsonSchema for QueuingConfiguration

source§

impl JsonSchema for ResourcePolicyRule

source§

impl JsonSchema for ServiceAccountSubject

source§

impl JsonSchema for Subject

source§

impl JsonSchema for UserSubject

source§

impl JsonSchema for HTTPIngressPath

source§

impl JsonSchema for HTTPIngressRuleValue

source§

impl JsonSchema for Ingress

source§

impl JsonSchema for IngressBackend

source§

impl JsonSchema for IngressClass

source§

impl JsonSchema for IngressClassParametersReference

source§

impl JsonSchema for IngressClassSpec

source§

impl JsonSchema for IngressLoadBalancerIngress

source§

impl JsonSchema for IngressLoadBalancerStatus

source§

impl JsonSchema for IngressPortStatus

source§

impl JsonSchema for IngressRule

source§

impl JsonSchema for IngressServiceBackend

source§

impl JsonSchema for IngressSpec

source§

impl JsonSchema for IngressStatus

source§

impl JsonSchema for IngressTLS

source§

impl JsonSchema for IPBlock

source§

impl JsonSchema for NetworkPolicy

source§

impl JsonSchema for NetworkPolicyEgressRule

source§

impl JsonSchema for NetworkPolicyIngressRule

source§

impl JsonSchema for NetworkPolicyPeer

source§

impl JsonSchema for NetworkPolicyPort

source§

impl JsonSchema for NetworkPolicySpec

source§

impl JsonSchema for ServiceBackendPort

source§

impl JsonSchema for IPAddress

source§

impl JsonSchema for IPAddressSpec

source§

impl JsonSchema for ParentReference

source§

impl JsonSchema for ServiceCIDR

source§

impl JsonSchema for ServiceCIDRSpec

source§

impl JsonSchema for ServiceCIDRStatus

source§

impl JsonSchema for Overhead

source§

impl JsonSchema for RuntimeClass

source§

impl JsonSchema for Scheduling

source§

impl JsonSchema for Eviction

source§

impl JsonSchema for PodDisruptionBudget

source§

impl JsonSchema for PodDisruptionBudgetSpec

source§

impl JsonSchema for PodDisruptionBudgetStatus

source§

impl JsonSchema for AggregationRule

source§

impl JsonSchema for ClusterRole

source§

impl JsonSchema for ClusterRoleBinding

source§

impl JsonSchema for PolicyRule

source§

impl JsonSchema for Role

source§

impl JsonSchema for RoleBinding

source§

impl JsonSchema for RoleRef

source§

impl JsonSchema for Subject

source§

impl JsonSchema for AllocationResult

source§

impl JsonSchema for PodSchedulingContext

source§

impl JsonSchema for PodSchedulingContextSpec

source§

impl JsonSchema for PodSchedulingContextStatus

source§

impl JsonSchema for ResourceClaim

source§

impl JsonSchema for ResourceClaimConsumerReference

source§

impl JsonSchema for ResourceClaimParametersReference

source§

impl JsonSchema for ResourceClaimSchedulingStatus

source§

impl JsonSchema for ResourceClaimSpec

source§

impl JsonSchema for ResourceClaimStatus

source§

impl JsonSchema for ResourceClaimTemplate

source§

impl JsonSchema for ResourceClaimTemplateSpec

source§

impl JsonSchema for ResourceClass

source§

impl JsonSchema for ResourceClassParametersReference

source§

impl JsonSchema for ResourceHandle

source§

impl JsonSchema for PriorityClass

source§

impl JsonSchema for CSIDriver

source§

impl JsonSchema for CSIDriverSpec

source§

impl JsonSchema for CSINode

source§

impl JsonSchema for CSINodeDriver

source§

impl JsonSchema for CSINodeSpec

source§

impl JsonSchema for CSIStorageCapacity

source§

impl JsonSchema for StorageClass

source§

impl JsonSchema for TokenRequest

source§

impl JsonSchema for VolumeAttachment

source§

impl JsonSchema for VolumeAttachmentSource

source§

impl JsonSchema for VolumeAttachmentSpec

source§

impl JsonSchema for VolumeAttachmentStatus

source§

impl JsonSchema for VolumeError

source§

impl JsonSchema for VolumeNodeResources

source§

impl JsonSchema for VolumeAttributesClass

source§

impl JsonSchema for CustomResourceColumnDefinition

source§

impl JsonSchema for CustomResourceConversion

source§

impl JsonSchema for CustomResourceDefinition

source§

impl JsonSchema for CustomResourceDefinitionCondition

source§

impl JsonSchema for CustomResourceDefinitionNames

source§

impl JsonSchema for CustomResourceDefinitionSpec

source§

impl JsonSchema for CustomResourceDefinitionStatus

source§

impl JsonSchema for CustomResourceDefinitionVersion

source§

impl JsonSchema for CustomResourceSubresourceScale

source§

impl JsonSchema for CustomResourceSubresourceStatus

source§

impl JsonSchema for CustomResourceSubresources

source§

impl JsonSchema for CustomResourceValidation

source§

impl JsonSchema for ExternalDocumentation

source§

impl JsonSchema for JSON

source§

impl JsonSchema for JSONSchemaProps

source§

impl JsonSchema for ServiceReference

source§

impl JsonSchema for ValidationRule

source§

impl JsonSchema for WebhookClientConfig

source§

impl JsonSchema for WebhookConversion

source§

impl JsonSchema for Quantity

source§

impl JsonSchema for APIGroup

source§

impl JsonSchema for APIGroupList

source§

impl JsonSchema for APIResource

source§

impl JsonSchema for APIResourceList

source§

impl JsonSchema for APIVersions

source§

impl JsonSchema for DeleteOptions

source§

impl JsonSchema for FieldsV1

source§

impl JsonSchema for GroupVersionForDiscovery

source§

impl JsonSchema for LabelSelector

source§

impl JsonSchema for LabelSelectorRequirement

source§

impl JsonSchema for ListMeta

source§

impl JsonSchema for ManagedFieldsEntry

source§

impl JsonSchema for MicroTime

source§

impl JsonSchema for ObjectMeta

source§

impl JsonSchema for OwnerReference

source§

impl JsonSchema for Preconditions

source§

impl JsonSchema for ServerAddressByClientCIDR

source§

impl JsonSchema for Status

source§

impl JsonSchema for StatusCause

source§

impl JsonSchema for StatusDetails

source§

impl JsonSchema for Time

source§

impl JsonSchema for RawExtension

source§

impl JsonSchema for Info

source§

impl JsonSchema for APIService

source§

impl JsonSchema for APIServiceCondition

source§

impl JsonSchema for APIServiceSpec

source§

impl JsonSchema for APIServiceStatus

source§

impl JsonSchema for ServiceReference

source§

impl JsonSchema for Duration

source§

impl JsonSchema for Map<String, Value>

source§

impl JsonSchema for Number

source§

impl JsonSchema for Uuid

source§

impl JsonSchema for CString

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§

impl JsonSchema for OsStr

source§

impl JsonSchema for OsString

source§

impl JsonSchema for Path

source§

impl JsonSchema for PathBuf

source§

impl JsonSchema for SystemTime

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 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>

source§

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

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§

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§

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

Implementors§

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 Materialize

source§

impl JsonSchema for MaterializeCertSpec

source§

impl JsonSchema for MaterializeSpec

source§

impl JsonSchema for MaterializeStatus

source§

impl JsonSchema for VpcEndpoint

source§

impl JsonSchema for VpcEndpointSpec

source§

impl JsonSchema for VpcEndpointStatus

source§

impl JsonSchema for Condition

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<K, V> JsonSchema for BTreeMap<K, V>
where V: JsonSchema,