pub struct EntryPatch {
pub type_: Option<String>,
pub title: Option<String>,
pub summary: Option<String>,
pub note: Option<String>,
pub order: Option<i64>,
}Expand description
str entry set 的字段补丁:None 表示不改动,Some("") 表示移除该键。
Fields§
§type_: Option<String>子分支类型。
title: Option<String>展示名。
summary: Option<String>子分支摘要。
note: Option<String>备注。
order: Option<i64>同层排序键。
Implementations§
Trait Implementations§
Source§impl Clone for EntryPatch
impl Clone for EntryPatch
Source§fn clone(&self) -> EntryPatch
fn clone(&self) -> EntryPatch
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 EntryPatch
impl Debug for EntryPatch
Source§impl Default for EntryPatch
impl Default for EntryPatch
Source§fn default() -> EntryPatch
fn default() -> EntryPatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntryPatch
impl RefUnwindSafe for EntryPatch
impl Send for EntryPatch
impl Sync for EntryPatch
impl Unpin for EntryPatch
impl UnsafeUnpin for EntryPatch
impl UnwindSafe for EntryPatch
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