idiolect-records 0.2.0

Rust record types mirroring the dev.idiolect.* Lexicon family.
Documentation
// @generated by idiolect-codegen. do not edit.
// source: dev.panproto.schema.lens

//! Generated from `dev.panproto.schema.lens`.

#![allow(
    missing_docs,
    clippy::doc_markdown,
    clippy::struct_excessive_bools,
    clippy::derive_partial_eq_without_eq
)]
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct PanprotoLens {
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub blob: Option<serde_json::Value>,
    pub created_at: String,
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub laws_verified: Option<bool>,
    pub object_hash: String,
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub round_trip_class: Option<String>,
    pub source_schema: String,
    pub target_schema: String,
}

impl crate::Record for PanprotoLens {
    const NSID: &'static str = "dev.panproto.schema.lens";
}