#[repr(transparent)]pub struct PostalCode(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl CandidType for PostalCode
impl CandidType for PostalCode
Source§impl Clone for PostalCode
impl Clone for PostalCode
Source§fn clone(&self) -> PostalCode
fn clone(&self) -> PostalCode
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 PostalCode
impl Debug for PostalCode
Source§impl<'de> Deserialize<'de> for PostalCode
impl<'de> Deserialize<'de> for PostalCode
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
impl Eq for PostalCode
Source§impl<T> From<T> for PostalCode
impl<T> From<T> for PostalCode
Source§impl Hash for PostalCode
impl Hash for PostalCode
Source§impl Inner<String> for PostalCode
impl Inner<String> for PostalCode
Source§impl NormalizeAuto for PostalCode
impl NormalizeAuto for PostalCode
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for PostalCode
impl NormalizeCustom for PostalCode
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl Ord for PostalCode
impl Ord for PostalCode
Source§fn cmp(&self, other: &PostalCode) -> Ordering
fn cmp(&self, other: &PostalCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PostalCode
impl PartialEq for PostalCode
Source§impl PartialEq<PostalCode> for String
impl PartialEq<PostalCode> for String
Source§impl PartialEq<String> for PostalCode
impl PartialEq<String> for PostalCode
Source§impl PartialOrd for PostalCode
impl PartialOrd for PostalCode
Source§impl PartialOrd<PostalCode> for String
impl PartialOrd<PostalCode> for String
Source§impl PartialOrd<String> for PostalCode
impl PartialOrd<String> for PostalCode
Source§impl Path for PostalCode
impl Path for PostalCode
impl StructuralPartialEq for PostalCode
Source§impl ValidateAuto for PostalCode
impl ValidateAuto for PostalCode
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for PostalCode
impl ValidateCustom for PostalCode
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Source§impl Visitable for PostalCode
impl Visitable for PostalCode
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
Source§fn type_identity(&self) -> &'static str
fn type_identity(&self) -> &'static str
Return the concrete Rust application-value type used for callback
diagnostics.
Auto Trait Implementations§
impl Freeze for PostalCode
impl RefUnwindSafe for PostalCode
impl Send for PostalCode
impl Sync for PostalCode
impl Unpin for PostalCode
impl UnsafeUnpin for PostalCode
impl UnwindSafe for PostalCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more