Struct patternfly_yew::ValidationResult
source · [−]pub struct ValidationResult {
pub message: Option<String>,
pub state: InputState,
}Fields
message: Option<String>state: InputStateImplementations
Trait Implementations
sourceimpl Clone for ValidationResult
impl Clone for ValidationResult
sourcefn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
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 Debug for ValidationResult
impl Debug for ValidationResult
sourceimpl Default for ValidationResult
impl Default for ValidationResult
sourceimpl From<ValidationResult> for Option<HelperText>
impl From<ValidationResult> for Option<HelperText>
sourcefn from(result: ValidationResult) -> Self
fn from(result: ValidationResult) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ValidationResult> for ValidationResult
impl PartialEq<ValidationResult> for ValidationResult
sourcefn eq(&self, other: &ValidationResult) -> bool
fn eq(&self, other: &ValidationResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for ValidationResult
impl StructuralEq for ValidationResult
impl StructuralPartialEq for ValidationResult
Auto Trait Implementations
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
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.