pub enum ParamKind {
Known,
Unknown,
}Expand description
Indicates whether a parameter with this name is known.
This is a semantically clear version of bool that also contains #[must_use]
Variants
Known
Signals that this parameter is known to the type being deserialized.
Unknown
Signals that this parameter is not known to the type being deserialized.
Parsing error will be reported if this is returned from req- parameter as mandated by
BIP21.
Trait Implementations
impl Copy for ParamKind
impl Eq for ParamKind
impl StructuralEq for ParamKind
impl StructuralPartialEq for ParamKind
Auto Trait Implementations
impl RefUnwindSafe for ParamKind
impl Send for ParamKind
impl Sync for ParamKind
impl Unpin for ParamKind
impl UnwindSafe for ParamKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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