pub struct AiAltImageInput {
pub source_path: String,
pub image_path: String,
pub mime_type: String,
pub width: u32,
pub height: u32,
pub bytes: u64,
pub hash: String,
pub detail: String,
}Fields§
§source_path: String§image_path: String§mime_type: String§width: u32§height: u32§bytes: u64§hash: String§detail: StringTrait Implementations§
Source§impl Clone for AiAltImageInput
impl Clone for AiAltImageInput
Source§fn clone(&self) -> AiAltImageInput
fn clone(&self) -> AiAltImageInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AiAltImageInput
impl Debug for AiAltImageInput
Source§impl PartialEq for AiAltImageInput
impl PartialEq for AiAltImageInput
Source§fn eq(&self, other: &AiAltImageInput) -> bool
fn eq(&self, other: &AiAltImageInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AiAltImageInput
impl Serialize for AiAltImageInput
impl Eq for AiAltImageInput
impl StructuralPartialEq for AiAltImageInput
Auto Trait Implementations§
impl Freeze for AiAltImageInput
impl RefUnwindSafe for AiAltImageInput
impl Send for AiAltImageInput
impl Sync for AiAltImageInput
impl Unpin for AiAltImageInput
impl UnsafeUnpin for AiAltImageInput
impl UnwindSafe for AiAltImageInput
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