mikufans-proto 8.52.0+build.19546312

gRPC APIs for Mikufans
Documentation
// This file is @generated by prost-build.
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FanNumColorFormat {
    ///
    #[prost(string, tag = "1")]
    pub start_point: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub end_point: ::prost::alloc::string::String,
    ///
    #[prost(string, repeated, tag = "3")]
    pub colors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    ///
    #[prost(int64, repeated, tag = "4")]
    pub gradients: ::prost::alloc::vec::Vec<i64>,
}
impl ::prost::Name for FanNumColorFormat {
    const NAME: &'static str = "FanNumColorFormat";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.FanNumColorFormat".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.FanNumColorFormat".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageGroup {
    ///
    #[prost(int64, tag = "1")]
    pub r#type: i64,
    ///
    #[prost(message, optional, tag = "2")]
    pub effect_visual: ::core::option::Option<image_group::VisualEffect>,
}
/// Nested message and enum types in `ImageGroup`.
pub mod image_group {
    ///
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct VisualEffect {
        ///
        #[prost(string, tag = "1")]
        pub medal_image: ::prost::alloc::string::String,
        ///
        #[prost(string, tag = "2")]
        pub color_theme: ::prost::alloc::string::String,
    }
    impl ::prost::Name for VisualEffect {
        const NAME: &'static str = "VisualEffect";
        const PACKAGE: &'static str = "bilibili.vas.garb.model";
        fn full_name() -> ::prost::alloc::string::String {
            "bilibili.vas.garb.model.ImageGroup.VisualEffect".into()
        }
        fn type_url() -> ::prost::alloc::string::String {
            "/bilibili.vas.garb.model.ImageGroup.VisualEffect".into()
        }
    }
}
impl ::prost::Name for ImageGroup {
    const NAME: &'static str = "ImageGroup";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.ImageGroup".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.ImageGroup".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserCardBg {
    ///
    #[prost(int64, tag = "1")]
    pub id: i64,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub image: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "5")]
    pub fan: ::core::option::Option<UserFanShow>,
    ///
    #[prost(string, tag = "6")]
    pub r#type: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "7")]
    pub image_group: ::core::option::Option<ImageGroup>,
}
impl ::prost::Name for UserCardBg {
    const NAME: &'static str = "UserCardBG";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.UserCardBG".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.UserCardBG".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserFanShow {
    ///
    #[prost(int64, tag = "1")]
    pub is_fan: i64,
    ///
    #[prost(int64, tag = "2")]
    pub number: i64,
    ///
    #[prost(string, tag = "3")]
    pub color: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "5")]
    pub num_desc: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "6")]
    pub num_prefix: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "7")]
    pub color_format: ::core::option::Option<FanNumColorFormat>,
}
impl ::prost::Name for UserFanShow {
    const NAME: &'static str = "UserFanShow";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.UserFanShow".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.UserFanShow".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserPendant {
    ///
    #[prost(int64, tag = "1")]
    pub id: i64,
    ///
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub image: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub jump_url: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "5")]
    pub r#type: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "6")]
    pub image_enhance: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "7")]
    pub image_enhance_frame: ::prost::alloc::string::String,
}
impl ::prost::Name for UserPendant {
    const NAME: &'static str = "UserPendant";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.UserPendant".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.UserPendant".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserSailing {
    ///
    #[prost(message, optional, tag = "1")]
    pub pendant: ::core::option::Option<UserPendant>,
    ///
    #[prost(message, optional, tag = "2")]
    pub card_bg: ::core::option::Option<UserCardBg>,
    ///
    #[prost(message, optional, tag = "3")]
    pub card_bg_with_focus: ::core::option::Option<UserCardBg>,
}
impl ::prost::Name for UserSailing {
    const NAME: &'static str = "UserSailing";
    const PACKAGE: &'static str = "bilibili.vas.garb.model";
    fn full_name() -> ::prost::alloc::string::String {
        "bilibili.vas.garb.model.UserSailing".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/bilibili.vas.garb.model.UserSailing".into()
    }
}