pub enum SendStatus {
Show 29 variants
Success = 1,
SystemError = 0,
InvalidApiKey = 10,
ApiKeyDisabled = 11,
ApiKeyIpRestricted = 12,
UserDisabled = 13,
UserSuspended = 14,
TooManyRequests = 20,
InvalidLineNumber = 101,
InsufficientCredit = 102,
EmptyText = 103,
InvalidMobile = 104,
TooManyMobiles = 105,
TooManyTexts = 106,
EmptyMobiles = 107,
EmptyTexts = 108,
InvalidSendTime = 109,
MobilesTextsCountMismatch = 110,
NotFoundById = 111,
NoRecordToDelete = 112,
TemplateNotFound = 113,
ParamTooLong = 114,
MobilesInBlacklist = 115,
ParamNameEmpty = 116,
TextNotApproved = 117,
TooManyMessages = 118,
UpgradePlanForTemplate = 119,
SenderNeedsActivation = 123,
Unknown = 124,
}Expand description
Status codes for send operations
Variants§
Success = 1
SystemError = 0
InvalidApiKey = 10
ApiKeyDisabled = 11
ApiKeyIpRestricted = 12
UserDisabled = 13
UserSuspended = 14
TooManyRequests = 20
InvalidLineNumber = 101
InsufficientCredit = 102
EmptyText = 103
InvalidMobile = 104
TooManyMobiles = 105
TooManyTexts = 106
EmptyMobiles = 107
EmptyTexts = 108
InvalidSendTime = 109
MobilesTextsCountMismatch = 110
NotFoundById = 111
NoRecordToDelete = 112
TemplateNotFound = 113
ParamTooLong = 114
MobilesInBlacklist = 115
ParamNameEmpty = 116
TextNotApproved = 117
TooManyMessages = 118
UpgradePlanForTemplate = 119
SenderNeedsActivation = 123
Unknown = 124
Implementations§
Trait Implementations§
Source§impl Clone for SendStatus
impl Clone for SendStatus
Source§fn clone(&self) -> SendStatus
fn clone(&self) -> SendStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 SendStatus
impl Debug for SendStatus
Source§impl PartialEq for SendStatus
impl PartialEq for SendStatus
impl Copy for SendStatus
impl Eq for SendStatus
impl StructuralPartialEq for SendStatus
Auto Trait Implementations§
impl Freeze for SendStatus
impl RefUnwindSafe for SendStatus
impl Send for SendStatus
impl Sync for SendStatus
impl Unpin for SendStatus
impl UnwindSafe for SendStatus
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.