pub struct EntryNew {
pub role: Option<String>,
pub type_: Option<String>,
pub title: Option<String>,
pub summary: Option<String>,
pub note: Option<String>,
pub order: Option<i64>,
pub media_type: Option<String>,
pub optional: bool,
}Expand description
str entry add 的可选字段。
Fields§
§role: Option<String>role(缺省按磁盘对象自动推断)。
type_: Option<String>子分支类型。
title: Option<String>展示名。
summary: Option<String>摘要。
note: Option<String>备注。
order: Option<i64>同层排序键。
media_type: Option<String>媒体类型(仅文件类条目;缺省按扩展名推断)。
optional: bool登记为 optional = true(缺失被允许)。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryNew
impl RefUnwindSafe for EntryNew
impl Send for EntryNew
impl Sync for EntryNew
impl Unpin for EntryNew
impl UnsafeUnpin for EntryNew
impl UnwindSafe for EntryNew
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