pub struct AiAltSource {
pub source_path: String,
pub source_hash: String,
pub source_width: u32,
pub source_height: u32,
pub source_bytes: u64,
pub representative_image_path: String,
pub representative_image_width: u32,
pub representative_image_height: u32,
pub representative_image_format: String,
pub image_bytes_included: bool,
pub image_detail: Option<String>,
pub variants: Vec<AiAltVariant>,
}Fields§
§source_path: String§source_hash: String§source_width: u32§source_height: u32§source_bytes: u64§representative_image_path: String§representative_image_width: u32§representative_image_height: u32§representative_image_format: String§image_bytes_included: bool§image_detail: Option<String>§variants: Vec<AiAltVariant>Trait Implementations§
Source§impl Clone for AiAltSource
impl Clone for AiAltSource
Source§impl Debug for AiAltSource
impl Debug for AiAltSource
impl Eq for AiAltSource
Source§impl PartialEq for AiAltSource
impl PartialEq for AiAltSource
Source§impl Serialize for AiAltSource
impl Serialize for AiAltSource
impl StructuralPartialEq for AiAltSource
Auto Trait Implementations§
impl Forget for AiAltSource
impl Freeze for AiAltSource
impl Move for AiAltSource
impl RefUnwindSafe for AiAltSource
impl Send for AiAltSource
impl Sync for AiAltSource
impl Unpin for AiAltSource
impl UnsafeUnpin for AiAltSource
impl UnwindSafe for AiAltSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more