pub struct UpsertDocFormat<'a> {
pub content_type: &'a str,
pub publisher_tag: &'a str,
pub app_name: &'a str,
pub format_version: Option<i64>,
pub store_tp: Option<&'a str>,
pub nav_param: Option<&'a str>,
pub search: Option<&'a Value>,
pub x: Option<&'a Value>,
}Expand description
Writable subset of DocFormat.
Fields§
§content_type: &'a str§publisher_tag: &'a str§app_name: &'a str§format_version: Option<i64>§store_tp: Option<&'a str>§search: Option<&'a Value>§x: Option<&'a Value>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UpsertDocFormat<'a>
impl<'a> RefUnwindSafe for UpsertDocFormat<'a>
impl<'a> Send for UpsertDocFormat<'a>
impl<'a> Sync for UpsertDocFormat<'a>
impl<'a> Unpin for UpsertDocFormat<'a>
impl<'a> UnsafeUnpin for UpsertDocFormat<'a>
impl<'a> UnwindSafe for UpsertDocFormat<'a>
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