pub struct FormResult<FID>where
FID: EzCptIds,{ /* private fields */ }Expand description
A type wrapping all the FieldResults of a form into a Vec.
Implementations§
Source§impl<FID> FormResult<FID>where
FID: EzCptIds,
impl<FID> FormResult<FID>where
FID: EzCptIds,
Sourcepub fn get(&self, fid: &FID) -> Option<&FieldResult<FID>>
pub fn get(&self, fid: &FID) -> Option<&FieldResult<FID>>
Get the value of a specific field result by its field id.
Trait Implementations§
Source§impl<FID> Debug for FormResult<FID>
impl<FID> Debug for FormResult<FID>
Source§impl<FID> From<Vec<(FormField<FID>, FormFieldValue)>> for FormResult<FID>where
FID: EzCptIds,
impl<FID> From<Vec<(FormField<FID>, FormFieldValue)>> for FormResult<FID>where
FID: EzCptIds,
Auto Trait Implementations§
impl<FID> Freeze for FormResult<FID>
impl<FID> RefUnwindSafe for FormResult<FID>
impl<FID> Send for FormResult<FID>
impl<FID> Sync for FormResult<FID>
impl<FID> Unpin for FormResult<FID>
impl<FID> UnsafeUnpin for FormResult<FID>
impl<FID> UnwindSafe for FormResult<FID>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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