pub struct Number {
pub id: String,
pub country: Option<String>,
pub number: Option<String>,
pub kind: Option<String>,
pub monthly_fee: Option<String>,
pub fee_currency: Option<String>,
pub status: Option<String>,
pub inbound: Option<bool>,
pub outbound: Option<bool>,
pub assigned_at: Option<String>,
pub renews_at: Option<String>,
}Expand description
A virtual number.
Fields§
§id: StringNumber UUID.
country: Option<String>ISO2 country.
number: Option<String>The phone number.
kind: Option<String>long_code|short_code|toll_free.
monthly_fee: Option<String>Monthly fee, decimal string.
fee_currency: Option<String>Fee currency.
status: Option<String>available|assigned|releasing.
inbound: Option<bool>Receives SMS.
outbound: Option<bool>Sends SMS.
assigned_at: Option<String>Assignment time.
renews_at: Option<String>Renewal time.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Number
impl<'de> Deserialize<'de> for Number
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
Auto Trait Implementations§
impl Forget for Number
impl Freeze for Number
impl Move for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnsafeUnpin for Number
impl UnwindSafe for Number
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