pub struct Variant {
pub size: String,
pub theme: String,
pub url: String,
pub url2x: Option<String>,
pub width: u64,
pub height: u64,
pub bytes: Option<u64>,
pub bytes2x: Option<u64>,
pub thumb: Option<Thumb>,
}Fields§
§size: String§theme: String§url: String§url2x: Option<String>§width: u64§height: u64§bytes: Option<u64>Bytes of url and url2x, when the manifest gives them.
bytes2x: Option<u64>§thumb: Option<Thumb>The cards’ small copy, when the manifest gives one; the full-size view shows url.
Trait Implementations§
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Forget for Variant
impl Freeze for Variant
impl Move for Variant
impl RefUnwindSafe for Variant
impl Send for Variantwhere
RawVecInner: Send,
impl Sync for Variantwhere
RawVecInner: Sync,
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variantwhere
RawVecInner: UnwindSafe,
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