pub struct AiSelectedFile {
pub source_name: String,
pub path: String,
pub role: String,
pub width: u32,
pub height: u32,
pub format: String,
pub bytes: u64,
pub hash: String,
pub image_bytes_included: bool,
}Fields§
§source_name: String§path: String§role: String§width: u32§height: u32§format: String§bytes: u64§hash: String§image_bytes_included: boolTrait Implementations§
Source§impl Clone for AiSelectedFile
impl Clone for AiSelectedFile
Source§fn clone(&self) -> AiSelectedFile
fn clone(&self) -> AiSelectedFile
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 AiSelectedFile
impl Debug for AiSelectedFile
Source§impl PartialEq for AiSelectedFile
impl PartialEq for AiSelectedFile
Source§fn eq(&self, other: &AiSelectedFile) -> bool
fn eq(&self, other: &AiSelectedFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AiSelectedFile
impl Serialize for AiSelectedFile
impl Eq for AiSelectedFile
impl StructuralPartialEq for AiSelectedFile
Auto Trait Implementations§
impl Freeze for AiSelectedFile
impl RefUnwindSafe for AiSelectedFile
impl Send for AiSelectedFile
impl Sync for AiSelectedFile
impl Unpin for AiSelectedFile
impl UnsafeUnpin for AiSelectedFile
impl UnwindSafe for AiSelectedFile
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