Struct cp_core::geolocalization::address::Address
source · pub struct Address { /* private fields */ }Implementations§
source§impl Address
impl Address
pub fn new( country: String, region: String, city: String, street: String, number: String, additional: String, postal_code: String ) -> Self
pub fn country(&self) -> &str
pub fn region(&self) -> &str
pub fn city(&self) -> &str
pub fn street(&self) -> &str
pub fn number(&self) -> &str
pub fn additional(&self) -> &str
pub fn postal_code(&self) -> &str
Trait Implementations§
source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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<Address> for Address
impl PartialEq<Address> for Address
impl Eq for Address
impl StructuralEq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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