pub struct MessageQuotaResponse {
pub type: QuotaType,
pub value: Option<i64>,
}
Fields§
§type: QuotaType
§value: Option<i64>
The target limit for sending messages in the current month. This property is returned when the type
property has a value of limited
.
Implementations§
Source§impl MessageQuotaResponse
impl MessageQuotaResponse
pub fn new(type: QuotaType) -> MessageQuotaResponse
Trait Implementations§
Source§impl Clone for MessageQuotaResponse
impl Clone for MessageQuotaResponse
Source§fn clone(&self) -> MessageQuotaResponse
fn clone(&self) -> MessageQuotaResponse
Returns a copy 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 MessageQuotaResponse
impl Debug for MessageQuotaResponse
Source§impl Default for MessageQuotaResponse
impl Default for MessageQuotaResponse
Source§fn default() -> MessageQuotaResponse
fn default() -> MessageQuotaResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageQuotaResponse
impl<'de> Deserialize<'de> for MessageQuotaResponse
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 PartialEq for MessageQuotaResponse
impl PartialEq for MessageQuotaResponse
Source§impl Serialize for MessageQuotaResponse
impl Serialize for MessageQuotaResponse
impl StructuralPartialEq for MessageQuotaResponse
Auto Trait Implementations§
impl Freeze for MessageQuotaResponse
impl RefUnwindSafe for MessageQuotaResponse
impl Send for MessageQuotaResponse
impl Sync for MessageQuotaResponse
impl Unpin for MessageQuotaResponse
impl UnwindSafe for MessageQuotaResponse
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