Enum web_sys::PaymentComplete
source · [−]pub enum PaymentComplete {
Success,
Fail,
Unknown,
// some variants omitted
}
Expand description
The PaymentComplete
enum.
This API requires the following crate features to be activated: PaymentComplete
Variants
Success
Fail
Unknown
Implementations
sourceimpl PaymentComplete
impl PaymentComplete
pub fn from_js_value(obj: &JsValue) -> Option<PaymentComplete>
Trait Implementations
sourceimpl Clone for PaymentComplete
impl Clone for PaymentComplete
sourcefn clone(&self) -> PaymentComplete
fn clone(&self) -> PaymentComplete
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PaymentComplete
impl Debug for PaymentComplete
sourceimpl From<PaymentComplete> for JsValue
impl From<PaymentComplete> for JsValue
sourcefn from(obj: PaymentComplete) -> JsValue
fn from(obj: PaymentComplete) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for PaymentComplete
impl FromWasmAbi for PaymentComplete
sourceimpl IntoWasmAbi for PaymentComplete
impl IntoWasmAbi for PaymentComplete
sourceimpl OptionFromWasmAbi for PaymentComplete
impl OptionFromWasmAbi for PaymentComplete
sourceimpl OptionIntoWasmAbi for PaymentComplete
impl OptionIntoWasmAbi for PaymentComplete
sourceimpl PartialEq<PaymentComplete> for PaymentComplete
impl PartialEq<PaymentComplete> for PaymentComplete
sourceimpl WasmDescribe for PaymentComplete
impl WasmDescribe for PaymentComplete
impl Copy for PaymentComplete
impl Eq for PaymentComplete
impl StructuralEq for PaymentComplete
impl StructuralPartialEq for PaymentComplete
Auto Trait Implementations
impl RefUnwindSafe for PaymentComplete
impl Send for PaymentComplete
impl Sync for PaymentComplete
impl Unpin for PaymentComplete
impl UnwindSafe for PaymentComplete
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more