pub struct PutDocFormat {
pub publisher_tag: String,
pub app_name: String,
pub format_version: Option<i64>,
pub version: Option<String>,
pub store_tp: Option<String>,
pub nav_param: Option<String>,
pub search: Option<Value>,
pub x: Option<Value>,
}Expand description
Body of PUT /api/doc-formats/{content_type}.
Fields§
§publisher_tag: String§app_name: String§format_version: Option<i64>Encoded document format version, MMMmmmppp — three decimal digits for each
of major.minor.patch, so 2.1 patch 42 is 2_001_042. Registrations are
ordered by it; see the module docs.
version: Option<String>Legacy app-version string, accepted and ignored.
deny_unknown_fields above would turn an older shell’s request into a 400 on
every app start. Keeping the field is what lets the backend ship before the
frontend, which is the required deploy order. Remove one release after both
halves have shipped.
store_tp: Option<String>"RTDB" | "CRDT" | "BLOB"
Deep-link query param name, e.g. "nav".
search: Option<Value>§x: Option<Value>Trait Implementations§
Source§impl Debug for PutDocFormat
impl Debug for PutDocFormat
Source§impl<'de> Deserialize<'de> for PutDocFormat
impl<'de> Deserialize<'de> for PutDocFormat
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 PutDocFormat
impl RefUnwindSafe for PutDocFormat
impl Send for PutDocFormat
impl Sync for PutDocFormat
impl Unpin for PutDocFormat
impl UnsafeUnpin for PutDocFormat
impl UnwindSafe for PutDocFormat
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more