pub struct CtOutlineElem {
pub title: String,
pub count: Option<i64>,
pub expanded: Option<bool>,
pub actions: Option<Actions>,
pub children: Vec<CtOutlineElem>,
}Expand description
CT_OutlineElem:大纲节点(见表 17)。
Fields§
§title: String大纲节点标题(必选)。
count: Option<i64>该节点下所有叶节点的数目参考值,默认 0(可选)。
expanded: Option<bool>初始状态下是否展开子节点,默认 true(可选)。
actions: Option<Actions>节点被激活时执行的动作序列(可选)。
children: Vec<CtOutlineElem>子大纲节点,层层嵌套形成树状结构(可选)。
Trait Implementations§
Source§impl Clone for CtOutlineElem
impl Clone for CtOutlineElem
Source§fn clone(&self) -> CtOutlineElem
fn clone(&self) -> CtOutlineElem
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 CtOutlineElem
impl Debug for CtOutlineElem
Source§impl Default for CtOutlineElem
impl Default for CtOutlineElem
Source§fn default() -> CtOutlineElem
fn default() -> CtOutlineElem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CtOutlineElem
impl<'de> Deserialize<'de> for CtOutlineElem
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 CtOutlineElem
impl RefUnwindSafe for CtOutlineElem
impl Send for CtOutlineElem
impl Sync for CtOutlineElem
impl Unpin for CtOutlineElem
impl UnsafeUnpin for CtOutlineElem
impl UnwindSafe for CtOutlineElem
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