pub struct DataStorageFormat {
pub file_format: String,
pub version: String,
}
Fields§
§file_format: String
§version: String
Implementations§
Source§impl DataStorageFormat
impl DataStorageFormat
pub fn new(version: LanceFileVersion) -> Self
pub fn lance_file_version(&self) -> Result<LanceFileVersion>
Trait Implementations§
Source§impl Clone for DataStorageFormat
impl Clone for DataStorageFormat
Source§fn clone(&self) -> DataStorageFormat
fn clone(&self) -> DataStorageFormat
Returns a copy of the value. Read more
1.0.0 · 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 DataStorageFormat
impl Debug for DataStorageFormat
Source§impl Default for DataStorageFormat
impl Default for DataStorageFormat
Source§impl From<DataStorageFormat> for DataStorageFormat
impl From<DataStorageFormat> for DataStorageFormat
Source§fn from(pb: DataStorageFormat) -> Self
fn from(pb: DataStorageFormat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataStorageFormat
impl PartialEq for DataStorageFormat
impl StructuralPartialEq for DataStorageFormat
Auto Trait Implementations§
impl Freeze for DataStorageFormat
impl RefUnwindSafe for DataStorageFormat
impl Send for DataStorageFormat
impl Sync for DataStorageFormat
impl Unpin for DataStorageFormat
impl UnwindSafe for DataStorageFormat
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.