Struct google_content2::PostalCodeRange
source · pub struct PostalCodeRange {
pub postal_code_range_begin: Option<String>,
pub postal_code_range_end: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§postal_code_range_begin: Option<String>A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: “94108”, “9410*”, “9*”. Required.
postal_code_range_end: Option<String>A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.
Trait Implementations§
source§impl Clone for PostalCodeRange
impl Clone for PostalCodeRange
source§fn clone(&self) -> PostalCodeRange
fn clone(&self) -> PostalCodeRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PostalCodeRange
impl Debug for PostalCodeRange
source§impl Default for PostalCodeRange
impl Default for PostalCodeRange
source§fn default() -> PostalCodeRange
fn default() -> PostalCodeRange
source§impl<'de> Deserialize<'de> for PostalCodeRange
impl<'de> Deserialize<'de> for PostalCodeRange
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>,
source§impl Serialize for PostalCodeRange
impl Serialize for PostalCodeRange
impl Part for PostalCodeRange
Auto Trait Implementations§
impl Freeze for PostalCodeRange
impl RefUnwindSafe for PostalCodeRange
impl Send for PostalCodeRange
impl Sync for PostalCodeRange
impl Unpin for PostalCodeRange
impl UnwindSafe for PostalCodeRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more