#[non_exhaustive]pub enum DiscoveryFormMethod {
Get,
Post,
Dialog,
}Expand description
Method semantics retained for one parser-tree-descendant HTML form.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Get
Missing, invalid, or explicitly GET form method.
Post
Explicit POST form method. It is recorded but never converted to GET.
Dialog
HTML dialog form method. It is recorded but never sent as HTTP.
Trait Implementations§
Source§impl Clone for DiscoveryFormMethod
impl Clone for DiscoveryFormMethod
Source§fn clone(&self) -> DiscoveryFormMethod
fn clone(&self) -> DiscoveryFormMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiscoveryFormMethod
Source§impl Debug for DiscoveryFormMethod
impl Debug for DiscoveryFormMethod
impl Eq for DiscoveryFormMethod
Source§impl Ord for DiscoveryFormMethod
impl Ord for DiscoveryFormMethod
Source§fn cmp(&self, other: &DiscoveryFormMethod) -> Ordering
fn cmp(&self, other: &DiscoveryFormMethod) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DiscoveryFormMethod
impl PartialEq for DiscoveryFormMethod
Source§impl PartialOrd for DiscoveryFormMethod
impl PartialOrd for DiscoveryFormMethod
impl StructuralPartialEq for DiscoveryFormMethod
Auto Trait Implementations§
impl Freeze for DiscoveryFormMethod
impl RefUnwindSafe for DiscoveryFormMethod
impl Send for DiscoveryFormMethod
impl Sync for DiscoveryFormMethod
impl Unpin for DiscoveryFormMethod
impl UnsafeUnpin for DiscoveryFormMethod
impl UnwindSafe for DiscoveryFormMethod
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more