Skip to main content

anytype_rpc/gen/
anytype.storage.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct Step {
4    #[prost(string, tag = "1")]
5    pub name: ::prost::alloc::string::String,
6    #[prost(message, optional, tag = "2")]
7    pub link: ::core::option::Option<Link>,
8}
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct FileKeys {
11    #[prost(map = "string, string", tag = "1")]
12    pub keys_by_path:
13        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
14}
15#[derive(Clone, PartialEq, ::prost::Message)]
16pub struct FileInfo {
17    /// for retrieving key
18    #[prost(string, tag = "16")]
19    pub path: ::prost::alloc::string::String,
20    #[prost(string, tag = "1")]
21    pub mill: ::prost::alloc::string::String,
22    #[prost(string, tag = "2")]
23    pub checksum: ::prost::alloc::string::String,
24    #[prost(string, tag = "3")]
25    pub source: ::prost::alloc::string::String,
26    #[prost(string, tag = "4")]
27    pub opts: ::prost::alloc::string::String,
28    #[prost(string, tag = "5")]
29    pub hash: ::prost::alloc::string::String,
30    #[prost(string, tag = "6")]
31    pub key: ::prost::alloc::string::String,
32    #[prost(string, tag = "7")]
33    pub media: ::prost::alloc::string::String,
34    #[prost(string, tag = "8")]
35    pub name: ::prost::alloc::string::String,
36    /// useless for variants, used only with original file
37    #[prost(int64, tag = "9")]
38    pub size: i64,
39    #[prost(int64, tag = "10")]
40    pub added: i64,
41    /// goes straight to details, but width is used in searching for resize variant
42    #[prost(message, optional, tag = "11")]
43    pub meta: ::core::option::Option<::prost_types::Struct>,
44    #[prost(string, tag = "14")]
45    pub meta_hash: ::prost::alloc::string::String,
46    #[prost(int64, tag = "15")]
47    pub last_modified_date: i64,
48}
49#[derive(Clone, PartialEq, ::prost::Message)]
50pub struct ImageResizeSchema {
51    #[prost(string, tag = "1")]
52    pub name: ::prost::alloc::string::String,
53    #[prost(string, tag = "4")]
54    pub mill: ::prost::alloc::string::String,
55    #[prost(map = "string, string", tag = "5")]
56    pub opts:
57        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
58    #[prost(message, optional, tag = "6")]
59    pub json_schema: ::core::option::Option<::prost_types::Struct>,
60    #[prost(message, repeated, tag = "8")]
61    pub links: ::prost::alloc::vec::Vec<Link>,
62}
63#[derive(Clone, PartialEq, ::prost::Message)]
64pub struct Link {
65    #[prost(string, tag = "1")]
66    pub name: ::prost::alloc::string::String,
67    #[prost(string, tag = "4")]
68    pub mill: ::prost::alloc::string::String,
69    #[prost(map = "string, string", tag = "5")]
70    pub opts:
71        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
72    #[prost(message, optional, tag = "6")]
73    pub json_schema: ::core::option::Option<::prost_types::Struct>,
74}