PluginConfig

Type Alias PluginConfig 

Source
pub type PluginConfig<'a> = Data<'a>;

Aliased Type§

pub enum PluginConfig<'a> {
    Null,
    Boolean(bool),
    Integer(i64),
    String(AtprotoStr<'a>),
    Bytes(Bytes),
    CidLink(Cid<'a>),
    Array(Array<'a>),
    Object(Object<'a>),
    Blob(Blob<'a>),
}

Variants§

§

Null

Null value

§

Boolean(bool)

Boolean value

§

Integer(i64)

Integer value (no floats in AT Protocol)

§

String(AtprotoStr<'a>)

String value (parsed into specific AT Protocol types when possible)

§

Bytes(Bytes)

Raw bytes

CID link reference

§

Array(Array<'a>)

Array of values

§

Object(Object<'a>)

Object/map of values

§

Blob(Blob<'a>)

Blob reference with metadata