pub enum MoonpayUiTheme {
Dark,
Light,
}Expand description
The theme for the Moonpay on-ramp widget.
JSON schema
{
"title": "MoonpayUiTheme",
"description": "The theme for the Moonpay on-ramp widget.",
"type": "string",
"enum": [
"dark",
"light"
],
"x-stainless-model": "funding.moonpay_ui_theme"
}Variants§
Trait Implementations§
Source§impl Clone for MoonpayUiTheme
impl Clone for MoonpayUiTheme
Source§fn clone(&self) -> MoonpayUiTheme
fn clone(&self) -> MoonpayUiTheme
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 MoonpayUiTheme
Source§impl Debug for MoonpayUiTheme
impl Debug for MoonpayUiTheme
Source§impl<'de> Deserialize<'de> for MoonpayUiTheme
impl<'de> Deserialize<'de> for MoonpayUiTheme
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 Display for MoonpayUiTheme
impl Display for MoonpayUiTheme
impl Eq for MoonpayUiTheme
Source§impl From<&MoonpayUiTheme> for MoonpayUiTheme
impl From<&MoonpayUiTheme> for MoonpayUiTheme
Source§fn from(value: &MoonpayUiTheme) -> Self
fn from(value: &MoonpayUiTheme) -> Self
Converts to this type from the input type.
Source§impl FromStr for MoonpayUiTheme
impl FromStr for MoonpayUiTheme
Source§impl Hash for MoonpayUiTheme
impl Hash for MoonpayUiTheme
Source§impl Ord for MoonpayUiTheme
impl Ord for MoonpayUiTheme
Source§fn cmp(&self, other: &MoonpayUiTheme) -> Ordering
fn cmp(&self, other: &MoonpayUiTheme) -> 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 MoonpayUiTheme
impl PartialEq for MoonpayUiTheme
Source§fn eq(&self, other: &MoonpayUiTheme) -> bool
fn eq(&self, other: &MoonpayUiTheme) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MoonpayUiTheme
impl PartialOrd for MoonpayUiTheme
Source§impl Serialize for MoonpayUiTheme
impl Serialize for MoonpayUiTheme
impl StructuralPartialEq for MoonpayUiTheme
Source§impl TryFrom<&String> for MoonpayUiTheme
impl TryFrom<&String> for MoonpayUiTheme
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for MoonpayUiTheme
impl TryFrom<&str> for MoonpayUiTheme
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for MoonpayUiTheme
impl TryFrom<String> for MoonpayUiTheme
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MoonpayUiTheme
impl RefUnwindSafe for MoonpayUiTheme
impl Send for MoonpayUiTheme
impl Sync for MoonpayUiTheme
impl Unpin for MoonpayUiTheme
impl UnsafeUnpin for MoonpayUiTheme
impl UnwindSafe for MoonpayUiTheme
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