pub struct CustomerV3 {
pub name: String,
pub dob: u64,
pub favourite_colour: String,
}
Fields§
§name: String
§dob: u64
§favourite_colour: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CustomerV3
impl<'de> Deserialize<'de> for CustomerV3
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
Source§impl<'__superstruct> From<&'__superstruct CustomerV3> for CustomerRef<'__superstruct>
impl<'__superstruct> From<&'__superstruct CustomerV3> for CustomerRef<'__superstruct>
Source§fn from(variant: &'__superstruct CustomerV3) -> Self
fn from(variant: &'__superstruct CustomerV3) -> Self
Converts to this type from the input type.
Source§impl From<CustomerV3> for Customer
impl From<CustomerV3> for Customer
Source§fn from(variant: CustomerV3) -> Self
fn from(variant: CustomerV3) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CustomerV3
impl RefUnwindSafe for CustomerV3
impl Send for CustomerV3
impl Sync for CustomerV3
impl Unpin for CustomerV3
impl UnwindSafe for CustomerV3
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