Docs.rs
  • hpl-compression-0.1.8-beta.9
    • hpl-compression 0.1.8-beta.9
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • sultandilaram
    • Dependencies
      • anchor-lang ^0.28.0 normal
      • hpl-attribute-compressed-account ^0.0.1-beta.1 normal
      • hpl-compression-macro-merkle-tree-apply-fn ^0.0.2 normal
      • hpl-compression-macro-merkle-tree-apply-fn-deep ^0.0.2 normal
      • hpl-compression-macro-merkle-tree-utils ^0.0.3-beta.2 normal
      • serde_json >0.9.0, <=1.0.108 normal
      • spl-account-compression ^0.2.0 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

hpl_compression0.1.8-beta.9

CompressedSchema

Required Methods

  • schema
  • schema_value

Implementations on Foreign Types

  • HashMap<K, V>
  • Option<T>
  • Pubkey
  • String
  • Vec<T>
  • bool
  • u64

Object Safety

Implementors

In crate hpl_compression

?
Change settings

Trait hpl_compression::CompressedSchema

source ·
pub trait CompressedSchema {
    // Required methods
    fn schema() -> Schema;
    fn schema_value(&self) -> SchemaValue;
}

Required Methods§

source

fn schema() -> Schema

source

fn schema_value(&self) -> SchemaValue

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CompressedSchema for bool

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl CompressedSchema for u64

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl CompressedSchema for String

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl CompressedSchema for Pubkey

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl<K: ToString, V: CompressedSchema> CompressedSchema for HashMap<K, V>

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl<T: CompressedSchema> CompressedSchema for Option<T>

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

source§

impl<T: CompressedSchema> CompressedSchema for Vec<T>

source§

fn schema() -> Schema

source§

fn schema_value(&self) -> SchemaValue

Implementors§