pub struct FormDef {
pub id: IdField,
pub roles: Vec<IdField>,
}Expand description
A host-rendered form and the roles supplied to its display hook.
Fields§
§id: IdFieldUnique identifier within this declaration category.
roles: Vec<IdField>Role identifiers passed to the form-display hook.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FormDef
impl<'de> Deserialize<'de> for FormDef
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 FormDef
impl RefUnwindSafe for FormDef
impl Send for FormDef
impl Sync for FormDef
impl Unpin for FormDef
impl UnsafeUnpin for FormDef
impl UnwindSafe for FormDef
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