[−][src]Struct openidconnect::EndUserBirthday
End user's birthday, represented as an
ISO 8601:2004 YYYY-MM-DD
format.
The year MAY be 0000
, indicating that it is omitted. To represent only the year, YYYY
format is allowed. Note that depending on the underlying platform's date related function,
providing just year can result in varying month and day, so the implementers need to take
this factor into account to correctly process the dates.
Methods
impl EndUserBirthday
[src]
Methods from Deref<Target = String>
pub fn as_str(&self) -> &str
1.7.0[src]
Extracts a string slice containing the entire String
.
Examples
Basic usage:
let s = String::from("foo"); assert_eq!("foo", s.as_str());
pub fn capacity(&self) -> usize
1.0.0[src]
Returns this String
's capacity, in bytes.
Examples
Basic usage:
let s = String::with_capacity(10); assert!(s.capacity() >= 10);
pub fn as_bytes(&self) -> &[u8]
1.0.0[src]
Returns a byte slice of this String
's contents.
The inverse of this method is from_utf8
.
Examples
Basic usage:
let s = String::from("hello"); assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
pub fn len(&self) -> usize
1.0.0[src]
Returns the length of this String
, in bytes.
Examples
Basic usage:
let a = String::from("foo"); assert_eq!(a.len(), 3);
pub fn is_empty(&self) -> bool
1.0.0[src]
Returns true
if this String
has a length of zero, and false
otherwise.
Examples
Basic usage:
let mut v = String::new(); assert!(v.is_empty()); v.push('a'); assert!(!v.is_empty());
Trait Implementations
impl Clone for EndUserBirthday
[src]
fn clone(&self) -> EndUserBirthday
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for EndUserBirthday
[src]
impl Ord for EndUserBirthday
[src]
fn cmp(&self, other: &EndUserBirthday) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<EndUserBirthday> for EndUserBirthday
[src]
fn eq(&self, other: &EndUserBirthday) -> bool
[src]
fn ne(&self, other: &EndUserBirthday) -> bool
[src]
impl PartialOrd<EndUserBirthday> for EndUserBirthday
[src]
fn partial_cmp(&self, other: &EndUserBirthday) -> Option<Ordering>
[src]
fn lt(&self, other: &EndUserBirthday) -> bool
[src]
fn le(&self, other: &EndUserBirthday) -> bool
[src]
fn gt(&self, other: &EndUserBirthday) -> bool
[src]
fn ge(&self, other: &EndUserBirthday) -> bool
[src]
impl Debug for EndUserBirthday
[src]
impl Deref for EndUserBirthday
[src]
impl Hash for EndUserBirthday
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Serialize for EndUserBirthday
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for EndUserBirthday
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for EndUserBirthday
impl Sync for EndUserBirthday
impl Unpin for EndUserBirthday
impl UnwindSafe for EndUserBirthday
impl RefUnwindSafe for EndUserBirthday
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,