pub enum ProfileNumberV1 {
I64 {
value: i64,
},
F64Bits {
value: u64,
},
}Variants§
Implementations§
Source§impl ProfileNumberV1
impl ProfileNumberV1
pub fn validate(self) -> Result<(), ProfileRecordError>
Trait Implementations§
Source§impl Clone for ProfileNumberV1
impl Clone for ProfileNumberV1
impl Copy for ProfileNumberV1
Source§impl Debug for ProfileNumberV1
impl Debug for ProfileNumberV1
Source§impl<'de> Deserialize<'de> for ProfileNumberV1
impl<'de> Deserialize<'de> for ProfileNumberV1
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 ProfileNumberV1
Source§impl Ord for ProfileNumberV1
impl Ord for ProfileNumberV1
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProfileNumberV1
impl PartialEq for ProfileNumberV1
Source§impl PartialOrd for ProfileNumberV1
impl PartialOrd for ProfileNumberV1
Source§impl Serialize for ProfileNumberV1
impl Serialize for ProfileNumberV1
impl StructuralPartialEq for ProfileNumberV1
Auto Trait Implementations§
impl Freeze for ProfileNumberV1
impl RefUnwindSafe for ProfileNumberV1
impl Send for ProfileNumberV1
impl Sync for ProfileNumberV1
impl Unpin for ProfileNumberV1
impl UnsafeUnpin for ProfileNumberV1
impl UnwindSafe for ProfileNumberV1
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