pub struct AvatarProjection<'a> {
pub username: &'a str,
pub source_url_md5: &'a str,
pub bytes: &'a [u8],
pub update_time: i64,
}Expand description
Avatar hashes identify the native source URL, not the image-content digest. A caller supplies the observed URL hash explicitly; it is never inferred from the bytes. No contact/group field or remote avatar is modified.
Fields§
§username: &'a str§source_url_md5: &'a str§bytes: &'a [u8]§update_time: i64Auto Trait Implementations§
impl<'a> Freeze for AvatarProjection<'a>
impl<'a> RefUnwindSafe for AvatarProjection<'a>
impl<'a> Send for AvatarProjection<'a>
impl<'a> Sync for AvatarProjection<'a>
impl<'a> Unpin for AvatarProjection<'a>
impl<'a> UnsafeUnpin for AvatarProjection<'a>
impl<'a> UnwindSafe for AvatarProjection<'a>
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