pub struct CsvSchemaBuilder { /* private fields */ }Expand description
Builder for CSV schema.
Implementations§
Source§impl CsvSchemaBuilder
impl CsvSchemaBuilder
Sourcepub fn image_column(self, name: impl Into<String>) -> Self
pub fn image_column(self, name: impl Into<String>) -> Self
Set the image column name.
Sourcepub fn codec_column(self, name: impl Into<String>) -> Self
pub fn codec_column(self, name: impl Into<String>) -> Self
Set the codec column name.
Sourcepub fn codec_version_column(self, name: impl Into<String>) -> Self
pub fn codec_version_column(self, name: impl Into<String>) -> Self
Set the codec version column name.
Sourcepub fn quality_column(self, name: impl Into<String>) -> Self
pub fn quality_column(self, name: impl Into<String>) -> Self
Set the quality column name.
Sourcepub fn size_column(self, name: impl Into<String>) -> Self
pub fn size_column(self, name: impl Into<String>) -> Self
Set the file size column name.
Sourcepub fn bpp_column(self, name: impl Into<String>) -> Self
pub fn bpp_column(self, name: impl Into<String>) -> Self
Set the bits per pixel column name.
Sourcepub fn ssimulacra2_column(self, name: impl Into<String>) -> Self
pub fn ssimulacra2_column(self, name: impl Into<String>) -> Self
Set the SSIMULACRA2 column name.
Sourcepub fn dssim_column(self, name: impl Into<String>) -> Self
pub fn dssim_column(self, name: impl Into<String>) -> Self
Set the DSSIM column name.
Sourcepub fn psnr_column(self, name: impl Into<String>) -> Self
pub fn psnr_column(self, name: impl Into<String>) -> Self
Set the PSNR column name.
Sourcepub fn butteraugli_column(self, name: impl Into<String>) -> Self
pub fn butteraugli_column(self, name: impl Into<String>) -> Self
Set the Butteraugli column name.
Sourcepub fn encode_time_column(self, name: impl Into<String>) -> Self
pub fn encode_time_column(self, name: impl Into<String>) -> Self
Set the encode time column name.
Trait Implementations§
Source§impl Debug for CsvSchemaBuilder
impl Debug for CsvSchemaBuilder
Source§impl Default for CsvSchemaBuilder
impl Default for CsvSchemaBuilder
Source§fn default() -> CsvSchemaBuilder
fn default() -> CsvSchemaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CsvSchemaBuilder
impl RefUnwindSafe for CsvSchemaBuilder
impl Send for CsvSchemaBuilder
impl Sync for CsvSchemaBuilder
impl Unpin for CsvSchemaBuilder
impl UnwindSafe for CsvSchemaBuilder
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> 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