pub struct FormParams<T: 'static> {
pub css: Css,
pub add_css: Css,
pub add_section_css: Css,
pub submit_label: Rc<String>,
pub on_delete: Option<Rc<dyn Fn()>>,
pub delete_label: Rc<String>,
pub validate: Option<ValidateFunc<T>>,
pub validation_errors: Value<ValidationErrors>,
pub operation: Option<Value<Operation>>,
pub saving_label: Rc<String>,
pub saved_label: Rc<String>,
pub tabs_params: Option<TabsParams>,
}Fields§
§css: Css§add_css: Css§add_section_css: Css§submit_label: Rc<String>§on_delete: Option<Rc<dyn Fn()>>§delete_label: Rc<String>§validate: Option<ValidateFunc<T>>§validation_errors: Value<ValidationErrors>§operation: Option<Value<Operation>>§saving_label: Rc<String>§saved_label: Rc<String>§tabs_params: Option<TabsParams>Trait Implementations§
Source§impl<T: Clone + 'static> Clone for FormParams<T>
impl<T: Clone + 'static> Clone for FormParams<T>
Source§fn clone(&self) -> FormParams<T>
fn clone(&self) -> FormParams<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for FormParams<T>
impl<T> !RefUnwindSafe for FormParams<T>
impl<T> !Send for FormParams<T>
impl<T> !Sync for FormParams<T>
impl<T> Unpin for FormParams<T>
impl<T> !UnwindSafe for FormParams<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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