pub struct Logo {
pub bytes: Vec<u8>,
pub etag: String,
}Expand description
A logo as it is stored: always a PNG of ours.
Fields§
§bytes: Vec<u8>§etag: StringWhat GET /api/hats/{id}/logo answers as its ETag (without the
quotes): the first 128 bits of the bytes’ SHA-256, in hex.
Trait Implementations§
impl Eq for Logo
impl StructuralPartialEq for Logo
Auto Trait Implementations§
impl Freeze for Logo
impl RefUnwindSafe for Logo
impl Send for Logo
impl Sync for Logo
impl Unpin for Logo
impl UnsafeUnpin for Logo
impl UnwindSafe for Logo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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