pub struct AvatarBytes {
pub username: String,
pub bytes: Vec<u8>,
}Fields§
§username: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for AvatarBytes
impl Clone for AvatarBytes
Source§impl<'de> Deserialize<'de> for AvatarBytes
impl<'de> Deserialize<'de> for AvatarBytes
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
Auto Trait Implementations§
impl Freeze for AvatarBytes
impl RefUnwindSafe for AvatarBytes
impl Send for AvatarBytes
impl Sync for AvatarBytes
impl Unpin for AvatarBytes
impl UnsafeUnpin for AvatarBytes
impl UnwindSafe for AvatarBytes
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