pub struct GoogleAddressComponent {
pub long_name: String,
pub short_name: String,
pub types: Vec<GoogleAddressType>,
}
Expand description
Representation of a Google Address Component
Fields§
§long_name: String
Components long name
short_name: String
Components short name
types: Vec<GoogleAddressType>
List of address types associated with the component
Trait Implementations§
Source§impl Clone for GoogleAddressComponent
impl Clone for GoogleAddressComponent
Source§fn clone(&self) -> GoogleAddressComponent
fn clone(&self) -> GoogleAddressComponent
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 GoogleAddressComponent
impl Debug for GoogleAddressComponent
Source§impl<'de> Deserialize<'de> for GoogleAddressComponent
impl<'de> Deserialize<'de> for GoogleAddressComponent
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 GoogleAddressComponent
impl Display for GoogleAddressComponent
Source§impl From<&GoogleAddressComponent> for String
impl From<&GoogleAddressComponent> for String
Source§fn from(component: &GoogleAddressComponent) -> String
fn from(component: &GoogleAddressComponent) -> String
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GoogleAddressComponent
impl RefUnwindSafe for GoogleAddressComponent
impl Send for GoogleAddressComponent
impl Sync for GoogleAddressComponent
impl Unpin for GoogleAddressComponent
impl UnwindSafe for GoogleAddressComponent
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