pub struct SheetRow {Show 13 fields
pub id: String,
pub kind: Option<String>,
pub label: String,
pub detail: Option<String>,
pub image: Option<String>,
pub sf_symbol: Option<String>,
pub badge: Option<String>,
pub destructive: Option<bool>,
pub header: Option<bool>,
pub value: Option<String>,
pub on: Option<bool>,
pub placeholder: Option<String>,
pub options: Option<Vec<SheetOption>>,
}Expand description
One row in a native sheet (iOS), rendered natively. Tappable rows report
the id via sheetRow; form rows report via sheetField / sheetSubmit.
Fields§
§id: String§kind: Option<String>header | action | text | textfield | toggle | datetime | select | submit.
Defaults to action (or header when header == true).
label: String§detail: Option<String>§image: Option<String>Bitmap (base64 / data URL) — wins over sf_symbol.
sf_symbol: Option<String>§badge: Option<String>§destructive: Option<bool>§header: Option<bool>Back-compat: same as kind: "header".
value: Option<String>Initial value: textfield text / datetime ISO-8601 / select value.
on: Option<bool>Initial toggle state.
placeholder: Option<String>§options: Option<Vec<SheetOption>>select options.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SheetRow
impl<'de> Deserialize<'de> for SheetRow
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 SheetRow
impl RefUnwindSafe for SheetRow
impl Send for SheetRow
impl Sync for SheetRow
impl Unpin for SheetRow
impl UnsafeUnpin for SheetRow
impl UnwindSafe for SheetRow
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