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§
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 Eq for Address
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