pub struct GeneralMetadata {Show 24 fields
pub architecture: String,
pub quantization_version: u32,
pub alignment: u32,
pub name: Option<String>,
pub author: Option<String>,
pub version: Option<String>,
pub organization: Option<String>,
pub basename: Option<String>,
pub finetune: Option<String>,
pub description: Option<String>,
pub quantized_by: Option<String>,
pub size_label: Option<String>,
pub license: Option<String>,
pub license_name: Option<String>,
pub license_link: Option<String>,
pub url: Option<String>,
pub doi: Option<String>,
pub uuid: Option<String>,
pub repo_url: Option<String>,
pub tags: Option<Vec<String>>,
pub languages: Option<Vec<String>>,
pub datasets: Option<Vec<String>>,
pub file_type: Option<FileType>,
pub source: SourceMetadata,
}Fields§
§architecture: String§quantization_version: u32§alignment: u32§name: Option<String>§version: Option<String>§organization: Option<String>§basename: Option<String>§finetune: Option<String>§description: Option<String>§quantized_by: Option<String>§size_label: Option<String>§license: Option<String>§license_name: Option<String>§license_link: Option<String>§url: Option<String>§doi: Option<String>§uuid: Option<String>§repo_url: Option<String>§languages: Option<Vec<String>>§datasets: Option<Vec<String>>§file_type: Option<FileType>§source: SourceMetadataImplementations§
Trait Implementations§
Source§impl Clone for GeneralMetadata
impl Clone for GeneralMetadata
Source§fn clone(&self) -> GeneralMetadata
fn clone(&self) -> GeneralMetadata
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 moreAuto Trait Implementations§
impl Freeze for GeneralMetadata
impl RefUnwindSafe for GeneralMetadata
impl Send for GeneralMetadata
impl Sync for GeneralMetadata
impl Unpin for GeneralMetadata
impl UnsafeUnpin for GeneralMetadata
impl UnwindSafe for GeneralMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more