anytype-rpc 0.5.0

Anytype gRPC client
Documentation
// This file is @generated by prost-build.
// Generated on 2026-08-17 UTC from anytype-heart ref 0.50.10.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Step {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub link: ::core::option::Option<Link>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileKeys {
    #[prost(map = "string, string", tag = "1")]
    pub keys_by_path:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileInfo {
    /// for retrieving key
    #[prost(string, tag = "16")]
    pub path: ::prost::alloc::string::String,
    #[prost(string, tag = "1")]
    pub mill: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub checksum: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub source: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub opts: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub hash: ::prost::alloc::string::String,
    #[prost(string, tag = "6")]
    pub key: ::prost::alloc::string::String,
    #[prost(string, tag = "7")]
    pub media: ::prost::alloc::string::String,
    #[prost(string, tag = "8")]
    pub name: ::prost::alloc::string::String,
    /// useless for variants, used only with original file
    #[prost(int64, tag = "9")]
    pub size: i64,
    #[prost(int64, tag = "10")]
    pub added: i64,
    /// goes straight to details, but width is used in searching for resize variant
    #[prost(message, optional, tag = "11")]
    pub meta: ::core::option::Option<::prost_types::Struct>,
    #[prost(string, tag = "14")]
    pub meta_hash: ::prost::alloc::string::String,
    #[prost(int64, tag = "15")]
    pub last_modified_date: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageResizeSchema {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub mill: ::prost::alloc::string::String,
    #[prost(map = "string, string", tag = "5")]
    pub opts:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    #[prost(message, optional, tag = "6")]
    pub json_schema: ::core::option::Option<::prost_types::Struct>,
    #[prost(message, repeated, tag = "8")]
    pub links: ::prost::alloc::vec::Vec<Link>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Link {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub mill: ::prost::alloc::string::String,
    #[prost(map = "string, string", tag = "5")]
    pub opts:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    #[prost(message, optional, tag = "6")]
    pub json_schema: ::core::option::Option<::prost_types::Struct>,
}