nibiru_std/proto/buf/
cosmos.crypto.keyring.v1.rs

1// @generated
2/// Record is used for representing a key in the keyring.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct Record {
6    /// name represents a name of Record
7    #[prost(string, tag="1")]
8    pub name: ::prost::alloc::string::String,
9    /// pub_key represents a public key in any format
10    #[prost(message, optional, tag="2")]
11    pub pub_key: ::core::option::Option<::prost_types::Any>,
12    /// Record contains one of the following items
13    #[prost(oneof="record::Item", tags="3, 4, 5, 6")]
14    pub item: ::core::option::Option<record::Item>,
15}
16/// Nested message and enum types in `Record`.
17pub mod record {
18    /// Item is a keyring item stored in a keyring backend.
19    /// Local item
20    #[allow(clippy::derive_partial_eq_without_eq)]
21#[derive(Clone, PartialEq, ::prost::Message)]
22    pub struct Local {
23        #[prost(message, optional, tag="1")]
24        pub priv_key: ::core::option::Option<::prost_types::Any>,
25    }
26    /// Ledger item
27    #[allow(clippy::derive_partial_eq_without_eq)]
28#[derive(Clone, PartialEq, ::prost::Message)]
29    pub struct Ledger {
30        #[prost(message, optional, tag="1")]
31        pub path: ::core::option::Option<crate::proto::cosmos::crypto::hd::v1::Bip44Params>,
32    }
33    /// Multi item
34    #[allow(clippy::derive_partial_eq_without_eq)]
35#[derive(Clone, PartialEq, ::prost::Message)]
36    pub struct Multi {
37    }
38    /// Offline item
39    #[allow(clippy::derive_partial_eq_without_eq)]
40#[derive(Clone, PartialEq, ::prost::Message)]
41    pub struct Offline {
42    }
43    /// Record contains one of the following items
44    #[allow(clippy::derive_partial_eq_without_eq)]
45#[derive(Clone, PartialEq, ::prost::Oneof)]
46    pub enum Item {
47        /// local stores the private key locally.
48        #[prost(message, tag="3")]
49        Local(Local),
50        /// ledger stores the information about a Ledger key.
51        #[prost(message, tag="4")]
52        Ledger(Ledger),
53        /// Multi does not store any other information.
54        #[prost(message, tag="5")]
55        Multi(Multi),
56        /// Offline does not store any other information.
57        #[prost(message, tag="6")]
58        Offline(Offline),
59    }
60}
61// @@protoc_insertion_point(module)