pub enum Postcode {
Uk(UkPostcode),
Us(UsZipCode),
}Expand description
Generic postcode covering UK and US variants.
Variants§
Implementations§
Trait Implementations§
impl Eq for Postcode
impl StructuralPartialEq for Postcode
Auto Trait Implementations§
impl Freeze for Postcode
impl RefUnwindSafe for Postcode
impl Send for Postcode
impl Sync for Postcode
impl Unpin for Postcode
impl UnsafeUnpin for Postcode
impl UnwindSafe for Postcode
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