pub enum AddCustomFieldKeyV1BodyEntity {
Show 19 variants
Alert,
BillableMetric,
Charge,
Commit,
ContractCredit,
ContractProduct,
Contract,
Customer,
Discount,
Invoice,
ProfessionalService,
Product,
RateCard,
ScheduledCharge,
Subscription,
PackageCommit,
PackageCredit,
PackageSubscription,
PackageScheduledCharge,
}Expand description
AddCustomFieldKeyV1BodyEntity
JSON schema
{
"type": "string",
"enum": [
"alert",
"billable_metric",
"charge",
"commit",
"contract_credit",
"contract_product",
"contract",
"customer",
"discount",
"invoice",
"professional_service",
"product",
"rate_card",
"scheduled_charge",
"subscription",
"package_commit",
"package_credit",
"package_subscription",
"package_scheduled_charge"
],
"x-mint-enum": {
"professional_service": [
"client_id:e3147d6d-4101-4cd1-9888-ce3afeeac5b2"
]
}
}Variants§
Alert
BillableMetric
Charge
Commit
ContractCredit
ContractProduct
Contract
Customer
Discount
Invoice
ProfessionalService
Product
RateCard
ScheduledCharge
Subscription
PackageCommit
PackageCredit
PackageSubscription
PackageScheduledCharge
Trait Implementations§
Source§impl Clone for AddCustomFieldKeyV1BodyEntity
impl Clone for AddCustomFieldKeyV1BodyEntity
Source§fn clone(&self) -> AddCustomFieldKeyV1BodyEntity
fn clone(&self) -> AddCustomFieldKeyV1BodyEntity
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 AddCustomFieldKeyV1BodyEntity
Source§impl<'de> Deserialize<'de> for AddCustomFieldKeyV1BodyEntity
impl<'de> Deserialize<'de> for AddCustomFieldKeyV1BodyEntity
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
impl Eq for AddCustomFieldKeyV1BodyEntity
Source§impl Hash for AddCustomFieldKeyV1BodyEntity
impl Hash for AddCustomFieldKeyV1BodyEntity
Source§impl Ord for AddCustomFieldKeyV1BodyEntity
impl Ord for AddCustomFieldKeyV1BodyEntity
Source§fn cmp(&self, other: &AddCustomFieldKeyV1BodyEntity) -> Ordering
fn cmp(&self, other: &AddCustomFieldKeyV1BodyEntity) -> 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 AddCustomFieldKeyV1BodyEntity
impl PartialEq for AddCustomFieldKeyV1BodyEntity
Source§fn eq(&self, other: &AddCustomFieldKeyV1BodyEntity) -> bool
fn eq(&self, other: &AddCustomFieldKeyV1BodyEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AddCustomFieldKeyV1BodyEntity
impl PartialOrd for AddCustomFieldKeyV1BodyEntity
impl StructuralPartialEq for AddCustomFieldKeyV1BodyEntity
Source§impl TryFrom<&String> for AddCustomFieldKeyV1BodyEntity
impl TryFrom<&String> for AddCustomFieldKeyV1BodyEntity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AddCustomFieldKeyV1BodyEntity
impl TryFrom<&str> for AddCustomFieldKeyV1BodyEntity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AddCustomFieldKeyV1BodyEntity
impl TryFrom<String> for AddCustomFieldKeyV1BodyEntity
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AddCustomFieldKeyV1BodyEntity
impl RefUnwindSafe for AddCustomFieldKeyV1BodyEntity
impl Send for AddCustomFieldKeyV1BodyEntity
impl Sync for AddCustomFieldKeyV1BodyEntity
impl Unpin for AddCustomFieldKeyV1BodyEntity
impl UnsafeUnpin for AddCustomFieldKeyV1BodyEntity
impl UnwindSafe for AddCustomFieldKeyV1BodyEntity
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