pub struct InteractiveVideoChoice {
pub id: u64,
pub platform_action: String,
pub native_action: String,
pub condition: String,
pub cid: u64,
pub option: String,
pub is_default: Option<u8>,
pub is_hidden: Option<u8>,
}Expand description
选项信息
Fields§
§id: u64选项所跳转的模块 id
platform_action: String跳转信息文字, 例如 JUMP+{模块编号}+{cid}
native_action: String点击后对变量运算语句
condition: String选项出现条件判断语句
cid: u64选项所跳转分P的cid
option: String选项文字
is_default: Option<u8>是否为默认选项, 1: 是
是否为隐藏选项, 1: 是
Trait Implementations§
Source§impl Clone for InteractiveVideoChoice
impl Clone for InteractiveVideoChoice
Source§fn clone(&self) -> InteractiveVideoChoice
fn clone(&self) -> InteractiveVideoChoice
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 InteractiveVideoChoice
impl Debug for InteractiveVideoChoice
Source§impl<'de> Deserialize<'de> for InteractiveVideoChoice
impl<'de> Deserialize<'de> for InteractiveVideoChoice
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 InteractiveVideoChoice
impl RefUnwindSafe for InteractiveVideoChoice
impl Send for InteractiveVideoChoice
impl Sync for InteractiveVideoChoice
impl Unpin for InteractiveVideoChoice
impl UnsafeUnpin for InteractiveVideoChoice
impl UnwindSafe for InteractiveVideoChoice
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