pub struct SendResultCode(pub i32);Expand description
کدهای نتیجه ارسال پیامک
Tuple Fields§
§0: i32Implementations§
Source§impl SendResultCode
impl SendResultCode
pub const SUCCESS: Self
pub const INVALID_CREDENTIALS: Self
pub const USER_BLOCKED: Self
pub const INVALID_SENDER_NUMBER: Self
pub const DAILY_LIMIT: Self
pub const RECEIVER_COUNT_LIMIT: Self
pub const SENDER_LINE_INACTIVE: Self
pub const CONTENT_FILTERED: Self
pub const NO_CREDIT: Self
pub const SYSTEM_UPDATING: Self
pub const WEB_SERVICE_INACTIVE: Self
pub const NOT_IMPLEMENTED: Self
pub const LIKE_TO_LIKE_MISMATCH: Self
pub const MESSAGE_COUNT_LIMIT: Self
pub const TARIFF_NOT_SET: Self
pub const DUPLICATE_SEND: Self
pub const INVALID_NUMBER_OR_BLACKLIST: Self
pub const TEXT_NOT_FOUND: Self
pub const INVALID_TEMPLATE: Self
pub const USER_EXPIRED: Self
pub const USER_INACTIVE: Self
pub const INVALID_PARAMETERS: Self
pub const IP_BLOCKED: Self
pub const ENQUEUE_FAILED: Self
pub const DUPLICATE_REQUEST: Self
pub const INVALID_API_KEY: Self
pub const VOICE_FILE_ERROR: Self
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
توضیحات فارسی کد نتیجه
Trait Implementations§
Source§impl Clone for SendResultCode
impl Clone for SendResultCode
Source§fn clone(&self) -> SendResultCode
fn clone(&self) -> SendResultCode
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 SendResultCode
impl Debug for SendResultCode
Source§impl<'de> Deserialize<'de> for SendResultCode
impl<'de> Deserialize<'de> for SendResultCode
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 SendResultCode
impl Display for SendResultCode
Source§impl PartialEq for SendResultCode
impl PartialEq for SendResultCode
Source§impl Serialize for SendResultCode
impl Serialize for SendResultCode
impl Copy for SendResultCode
impl Eq for SendResultCode
impl StructuralPartialEq for SendResultCode
Auto Trait Implementations§
impl Freeze for SendResultCode
impl RefUnwindSafe for SendResultCode
impl Send for SendResultCode
impl Sync for SendResultCode
impl Unpin for SendResultCode
impl UnsafeUnpin for SendResultCode
impl UnwindSafe for SendResultCode
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.