pub enum AddCreditsNudgeCreditType {
Credits,
UsageLimit,
}Expand description
AddCreditsNudgeCreditType
JSON schema
{
"type": "string",
"enum": [
"credits",
"usage_limit"
]
}Variants§
Trait Implementations§
Source§impl Clone for AddCreditsNudgeCreditType
impl Clone for AddCreditsNudgeCreditType
Source§fn clone(&self) -> AddCreditsNudgeCreditType
fn clone(&self) -> AddCreditsNudgeCreditType
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 moreSource§impl Debug for AddCreditsNudgeCreditType
impl Debug for AddCreditsNudgeCreditType
Source§impl<'de> Deserialize<'de> for AddCreditsNudgeCreditType
impl<'de> Deserialize<'de> for AddCreditsNudgeCreditType
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 AddCreditsNudgeCreditType
impl Display for AddCreditsNudgeCreditType
Source§impl FromStr for AddCreditsNudgeCreditType
impl FromStr for AddCreditsNudgeCreditType
Source§impl Hash for AddCreditsNudgeCreditType
impl Hash for AddCreditsNudgeCreditType
Source§impl Ord for AddCreditsNudgeCreditType
impl Ord for AddCreditsNudgeCreditType
Source§fn cmp(&self, other: &AddCreditsNudgeCreditType) -> Ordering
fn cmp(&self, other: &AddCreditsNudgeCreditType) -> 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 AddCreditsNudgeCreditType
impl PartialEq for AddCreditsNudgeCreditType
Source§fn eq(&self, other: &AddCreditsNudgeCreditType) -> bool
fn eq(&self, other: &AddCreditsNudgeCreditType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AddCreditsNudgeCreditType
impl PartialOrd for AddCreditsNudgeCreditType
Source§impl TryFrom<&String> for AddCreditsNudgeCreditType
impl TryFrom<&String> for AddCreditsNudgeCreditType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AddCreditsNudgeCreditType
impl TryFrom<&str> for AddCreditsNudgeCreditType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AddCreditsNudgeCreditType
impl TryFrom<String> for AddCreditsNudgeCreditType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for AddCreditsNudgeCreditType
impl Eq for AddCreditsNudgeCreditType
impl StructuralPartialEq for AddCreditsNudgeCreditType
Auto Trait Implementations§
impl Freeze for AddCreditsNudgeCreditType
impl RefUnwindSafe for AddCreditsNudgeCreditType
impl Send for AddCreditsNudgeCreditType
impl Sync for AddCreditsNudgeCreditType
impl Unpin for AddCreditsNudgeCreditType
impl UnsafeUnpin for AddCreditsNudgeCreditType
impl UnwindSafe for AddCreditsNudgeCreditType
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
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
Compare self to
key and return true if they are equal.