pub enum PostcodeChoice {
Uk(UkPostcode),
Us(UsZipCode),
}Expand description
Which postcode type is used in the address.
Variants§
Trait Implementations§
Source§impl Clone for PostcodeChoice
impl Clone for PostcodeChoice
Source§fn clone(&self) -> PostcodeChoice
fn clone(&self) -> PostcodeChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostcodeChoice
impl Debug for PostcodeChoice
Source§impl Display for PostcodeChoice
impl Display for PostcodeChoice
impl Eq for PostcodeChoice
Source§impl Hash for PostcodeChoice
impl Hash for PostcodeChoice
Source§impl PartialEq for PostcodeChoice
impl PartialEq for PostcodeChoice
impl StructuralPartialEq for PostcodeChoice
Auto Trait Implementations§
impl Freeze for PostcodeChoice
impl RefUnwindSafe for PostcodeChoice
impl Send for PostcodeChoice
impl Sync for PostcodeChoice
impl Unpin for PostcodeChoice
impl UnsafeUnpin for PostcodeChoice
impl UnwindSafe for PostcodeChoice
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