pub struct ThumbnailOf {
pub entity: EntityId,
pub content: Hash,
pub size: Option<(u32, u32)>,
pub made_with: Option<String>,
pub held: bool,
}Expand description
A thumbnail of a content, as a device shows it.
Fields§
§entity: EntityIdThe thumbnail’s entity.
content: HashIts own content: the JPEG.
size: Option<(u32, u32)>Its width and height in pixels, as it records them.
made_with: Option<String>How it was made, such as nibkeep 1.
held: boolWhether this replica holds its JPEG.
Trait Implementations§
Source§impl Clone for ThumbnailOf
impl Clone for ThumbnailOf
Source§impl Debug for ThumbnailOf
impl Debug for ThumbnailOf
impl Eq for ThumbnailOf
Source§impl PartialEq for ThumbnailOf
impl PartialEq for ThumbnailOf
impl StructuralPartialEq for ThumbnailOf
Auto Trait Implementations§
impl Forget for ThumbnailOf
impl Freeze for ThumbnailOf
impl Move for ThumbnailOf
impl RefUnwindSafe for ThumbnailOf
impl Send for ThumbnailOf
impl Sync for ThumbnailOf
impl Unpin for ThumbnailOf
impl UnsafeUnpin for ThumbnailOf
impl UnwindSafe for ThumbnailOf
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.