pub struct Phone {
pub number: String,
pub normalized: String,
pub label: Option<String>,
pub phone_type: PhoneType,
}Expand description
电话号码
Fields§
§number: String§normalized: String§label: Option<String>§phone_type: PhoneTypeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Phone
impl<'de> Deserialize<'de> for Phone
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 Freeze for Phone
impl RefUnwindSafe for Phone
impl Send for Phone
impl Sync for Phone
impl Unpin for Phone
impl UnsafeUnpin for Phone
impl UnwindSafe for Phone
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