mikufans_proto_intl/
bilibili.broadcast.message.reply.rs

1// This file is @generated by prost-build.
2///
3#[derive(Clone, Copy, PartialEq, ::prost::Message)]
4pub struct SubjectInteractionResp {
5    ///
6    #[prost(int64, tag = "1")]
7    pub oid: i64,
8    ///
9    #[prost(int64, tag = "2")]
10    pub r#type: i64,
11    ///
12    #[prost(enumeration = "subject_interaction_resp::Interaction", tag = "3")]
13    pub interaction_type: i32,
14    ///
15    #[prost(int64, tag = "4")]
16    pub rpid: i64,
17    ///
18    #[prost(int64, tag = "5")]
19    pub like_count: i64,
20    ///
21    #[prost(int64, tag = "6")]
22    pub frequency: i64,
23}
24/// Nested message and enum types in `SubjectInteractionResp`.
25pub mod subject_interaction_resp {
26    ///
27    #[derive(
28        Clone,
29        Copy,
30        Debug,
31        PartialEq,
32        Eq,
33        Hash,
34        PartialOrd,
35        Ord,
36        ::prost::Enumeration
37    )]
38    #[repr(i32)]
39    pub enum Interaction {
40        ///
41        Unknown = 0,
42        ///
43        ReplyLike = 1,
44    }
45    impl Interaction {
46        /// String value of the enum field names used in the ProtoBuf definition.
47        ///
48        /// The values are not transformed in any way and thus are considered stable
49        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
50        pub fn as_str_name(&self) -> &'static str {
51            match self {
52                Self::Unknown => "Unknown",
53                Self::ReplyLike => "ReplyLike",
54            }
55        }
56        /// Creates an enum from field names used in the ProtoBuf definition.
57        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
58            match value {
59                "Unknown" => Some(Self::Unknown),
60                "ReplyLike" => Some(Self::ReplyLike),
61                _ => None,
62            }
63        }
64    }
65}
66///
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct SubjectNoticeResp {
69    ///
70    #[prost(int64, tag = "1")]
71    pub oid: i64,
72    ///
73    #[prost(int64, tag = "2")]
74    pub r#type: i64,
75    ///
76    #[prost(string, tag = "3")]
77    pub title: ::prost::alloc::string::String,
78    ///
79    #[prost(string, tag = "4")]
80    pub link: ::prost::alloc::string::String,
81    ///
82    #[prost(int64, tag = "5")]
83    pub timestamp: i64,
84    ///
85    #[prost(int64, tag = "6")]
86    pub rpid: i64,
87    ///
88    #[prost(string, tag = "7")]
89    pub interaction_type: ::prost::alloc::string::String,
90    ///
91    #[prost(int64, tag = "8")]
92    pub hover_duration: i64,
93    ///
94    #[prost(int64, tag = "9")]
95    pub root_rpid: i64,
96    ///
97    #[prost(string, tag = "10")]
98    pub interaction_scene: ::prost::alloc::string::String,
99}
100///
101#[derive(Clone, PartialEq, ::prost::Message)]
102pub struct SubjectReplyInsertionResp {
103    ///
104    #[prost(int64, tag = "1")]
105    pub oid: i64,
106    ///
107    #[prost(int64, tag = "2")]
108    pub r#type: i64,
109    ///
110    #[prost(string, tag = "3")]
111    pub title: ::prost::alloc::string::String,
112    ///
113    #[prost(int64, tag = "4")]
114    pub rpid: i64,
115    ///
116    #[prost(int64, tag = "5")]
117    pub timestamp: i64,
118    ///
119    #[prost(int64, tag = "6")]
120    pub rank: i64,
121    ///
122    #[prost(int64, tag = "7")]
123    pub step_size: i64,
124    ///
125    #[prost(int64, repeated, tag = "8")]
126    pub support_mode: ::prost::alloc::vec::Vec<i64>,
127    ///
128    #[prost(string, repeated, tag = "9")]
129    pub support_tag: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
130}