Struct patternfly_yew::FormGroupValidatedProps
source · [−]pub struct FormGroupValidatedProps<C> where
C: Component + ValidatingComponent, {
pub children: ChildrenWithProps<C>,
pub label: String,
pub required: bool,
pub validator: Validator<C::Value, ValidationResult>,
pub onvalidated: Callback<ValidationResult>,
}Fields
children: ChildrenWithProps<C>label: Stringrequired: boolvalidator: Validator<C::Value, ValidationResult>onvalidated: Callback<ValidationResult>Trait Implementations
sourceimpl<C: Clone> Clone for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
C::Value: Clone,
impl<C: Clone> Clone for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
C::Value: Clone,
sourcefn clone(&self) -> FormGroupValidatedProps<C>
fn clone(&self) -> FormGroupValidatedProps<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<C> PartialEq<FormGroupValidatedProps<C>> for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
impl<C> PartialEq<FormGroupValidatedProps<C>> for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
sourceimpl<C> Properties for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
impl<C> Properties for FormGroupValidatedProps<C> where
C: Component + ValidatingComponent,
Auto Trait Implementations
impl<C> !RefUnwindSafe for FormGroupValidatedProps<C>
impl<C> !Send for FormGroupValidatedProps<C>
impl<C> !Sync for FormGroupValidatedProps<C>
impl<C> Unpin for FormGroupValidatedProps<C>
impl<C> !UnwindSafe for FormGroupValidatedProps<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.