pub struct UserDto {
pub user_name: Option<String>,
pub profile_picture: Option<String>,
}Fields§
§user_name: Option<String>§profile_picture: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserDto
impl<'de> Deserialize<'de> for UserDto
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 FromStr for UserDto
Converts Query Parameters representation (style=form, explode=false) to a UserDto value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for UserDto
Converts Query Parameters representation (style=form, explode=false) to a UserDto value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl ToString for UserDto
Converts the UserDto value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for UserDto
Converts the UserDto value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl<'v_a> ValidateArgs<'v_a> for UserDto
impl<'v_a> ValidateArgs<'v_a> for UserDto
impl StructuralPartialEq for UserDto
Auto Trait Implementations§
impl Freeze for UserDto
impl RefUnwindSafe for UserDto
impl Send for UserDto
impl Sync for UserDto
impl Unpin for UserDto
impl UnwindSafe for UserDto
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