pub struct Address {
pub formatted: Option<String>,
pub street_address: Option<String>,
pub locality: Option<String>,
pub region: Option<String>,
pub postal_code: Option<String>,
pub country: Option<String>,
}Expand description
OIDC Core 1.0 §5.1.1 — address is a structured claim, not a flat
string. All fields optional; an issuer may emit any subset.
SDK-shaped mirror of ppoppo_token::id_token::AddressClaim; the
engine type is intentionally not re-exported (γ port invariant).
Fields§
§formatted: Option<String>§street_address: Option<String>§locality: Option<String>§region: Option<String>§postal_code: Option<String>§country: Option<String>Trait Implementations§
impl Eq for Address
Source§impl From<&AddressClaim> for Address
impl From<&AddressClaim> for Address
Source§fn from(c: &AddressClaim) -> Self
fn from(c: &AddressClaim) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.