Skip to main content

Contract

Trait Contract 

Source
pub trait Contract:
    Any
    + Send
    + Sync {
    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Contract for AdaptedApi

Source§

const NAME: &'static str = "poolster.http-api"

Source§

impl Contract for ApiReferenceDocument

Source§

const NAME: &'static str = "poolster.api-reference.v1"

Source§

impl Contract for GraphqlOperations

Source§

const NAME: &'static str = "poolster.graphql-operations.v1"

Source§

impl Contract for PackageMetadata

Source§

const NAME: &'static str = "poolster.package-metadata"