#[non_exhaustive]pub enum OperationType {
ResourceProvision,
ResourceRelease,
WhatsappAccountDisconnect,
SmsCampaignAssign,
SmsCampaignUnassign,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ResourceProvision
resource.provision
ResourceRelease
resource.release
WhatsappAccountDisconnect
whatsapp.account.disconnect
SmsCampaignAssign
sms.campaign.assign
SmsCampaignUnassign
sms.campaign.unassign
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§impl Debug for OperationType
impl Debug for OperationType
Source§impl<'de> Deserialize<'de> for OperationType
impl<'de> Deserialize<'de> for OperationType
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 OperationType
impl Display for OperationType
impl Eq for OperationType
Source§impl PartialEq for OperationType
impl PartialEq for OperationType
Source§impl Serialize for OperationType
impl Serialize for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnsafeUnpin for OperationType
impl UnwindSafe for OperationType
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