#[non_exhaustive]pub struct Accepted<T, H> {
pub content: T,
pub discarded: Vec<H>,
}Expand description
Content that parsed and satisfied its declaration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content: TThe declared struct.
discarded: Vec<H>The handles of uploads that a later upload for the same field replaced, which the caller should remove.
Trait Implementations§
Auto Trait Implementations§
impl<T, H> Forget for Accepted<T, H>
impl<T, H> Freeze for Accepted<T, H>
impl<T, H> RefUnwindSafe for Accepted<T, H>
impl<T, H> Send for Accepted<T, H>
impl<T, H> Sync for Accepted<T, H>
impl<T, H> Unpin for Accepted<T, H>
impl<T, H> UnsafeUnpin for Accepted<T, H>
impl<T, H> UnwindSafe for Accepted<T, H>
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