pub enum DeclineReason {
InsufficientFunds,
SomethingElse(String),
}Variants§
Trait Implementations§
Source§impl Clone for DeclineReason
impl Clone for DeclineReason
Source§fn clone(&self) -> DeclineReason
fn clone(&self) -> DeclineReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeclineReason
impl Debug for DeclineReason
Source§impl<'de> Deserialize<'de> for DeclineReason
impl<'de> Deserialize<'de> for DeclineReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HasExtraData for DeclineReason
Available on crate feature decode_everything only.
impl HasExtraData for DeclineReason
Available on crate feature
decode_everything only.Source§fn has_extra_data(&self) -> bool
fn has_extra_data(&self) -> bool
Recursively check if any extra data is present on this object or
any of it’s children.
Source§impl PartialEq for DeclineReason
impl PartialEq for DeclineReason
impl StructuralPartialEq for DeclineReason
Auto Trait Implementations§
impl Freeze for DeclineReason
impl RefUnwindSafe for DeclineReason
impl Send for DeclineReason
impl Sync for DeclineReason
impl Unpin for DeclineReason
impl UnwindSafe for DeclineReason
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