pub struct Photo {
pub data: Option<[u8; 20]>,
}
Expand description
The photo element containing the avatar metadata
Fields§
§data: Option<[u8; 20]>
The SHA1 hash of the avatar. Empty when there is no photo.
Trait Implementations§
Source§impl TryFrom<Element> for Photo
impl TryFrom<Element> for Photo
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Photo
Auto Trait Implementations§
impl Freeze for Photo
impl RefUnwindSafe for Photo
impl Send for Photo
impl Sync for Photo
impl Unpin for Photo
impl UnwindSafe for Photo
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