pub struct BindOptions {
pub id_prefix: Value,
pub language: Value,
pub key_prefix: Value,
pub unsupported: Value,
pub collapsed: Value,
}Expand description
Per-instance input names, content language and presentation.
Every option is kept as decoded JSON so that a value of the wrong type is rejected by binding, not by decoding. Null means the default.
Fields§
§id_prefix: ValueStable DOM identifier prefix, crudui by default.
language: ValueContent and interface language: ko (default), en, ja or zh.
key_prefix: ValueInput prefix overriding the template prefix.
unsupported: ValueUnsupported field handling: throw (default) or marker.
collapsed: ValueRow paths {collection}.{key} rendered collapsed, a list of strings; null renders every row expanded.
Trait Implementations§
Source§impl Clone for BindOptions
impl Clone for BindOptions
Source§fn clone(&self) -> BindOptions
fn clone(&self) -> BindOptions
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 BindOptions
impl Debug for BindOptions
Source§impl Default for BindOptions
impl Default for BindOptions
Source§impl<'de> Deserialize<'de> for BindOptionswhere
BindOptions: Default,
impl<'de> Deserialize<'de> for BindOptionswhere
BindOptions: Default,
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 BindOptions
impl RefUnwindSafe for BindOptions
impl Send for BindOptions
impl Sync for BindOptions
impl Unpin for BindOptions
impl UnsafeUnpin for BindOptions
impl UnwindSafe for BindOptions
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