pub struct ElecHighLevel {
pub privilege_type: u64,
pub title: String,
pub sub_title: String,
pub show_button: bool,
pub button_text: String,
pub jump_url: Option<Value>,
pub intro: String,
pub open: bool,
pub new: bool,
pub question_text: String,
pub qa_detail_link: String,
}Expand description
充电专属视频信息
Fields§
§privilege_type: u64解锁视频所需最低定价档位的代码
title: String提示标题
sub_title: String提示子标题
是否显示按钮
按钮文本
jump_url: Option<Value>跳转url信息
intro: String充电介绍语
open: bool§new: bool§question_text: String§qa_detail_link: StringTrait Implementations§
Source§impl Clone for ElecHighLevel
impl Clone for ElecHighLevel
Source§fn clone(&self) -> ElecHighLevel
fn clone(&self) -> ElecHighLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ElecHighLevel
impl Debug for ElecHighLevel
Source§impl<'de> Deserialize<'de> for ElecHighLevel
impl<'de> Deserialize<'de> for ElecHighLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ElecHighLevel
impl RefUnwindSafe for ElecHighLevel
impl Send for ElecHighLevel
impl Sync for ElecHighLevel
impl Unpin for ElecHighLevel
impl UnsafeUnpin for ElecHighLevel
impl UnwindSafe for ElecHighLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more