pub struct Form {
pub name: &'static str,
pub title: &'static str,
pub fields: &'static [Field],
pub action: Action,
}Fields§
§name: &'static str§title: &'static str§fields: &'static [Field]§action: ActionImplementations§
Source§impl Form
impl Form
pub fn has_select(&self) -> bool
pub fn has_source(&self, source: Source) -> bool
Sourcepub fn filter_fields(&self) -> impl Iterator<Item = &'static Field>
pub fn filter_fields(&self) -> impl Iterator<Item = &'static Field>
The fields that filter a result: all but the paging ones.
pub fn nested_keys(&self) -> impl Iterator<Item = &'static str>
Trait Implementations§
impl Copy for Form
impl Eq for Form
impl StructuralPartialEq for Form
Auto Trait Implementations§
impl Freeze for Form
impl RefUnwindSafe for Form
impl Send for Form
impl Sync for Form
impl Unpin for Form
impl UnsafeUnpin for Form
impl UnwindSafe for Form
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