#[non_exhaustive]pub struct StoredProjector {
pub id: String,
pub path: PathBuf,
pub size: u64,
pub for_model: Option<String>,
pub provenance: Option<Provenance>,
}Expand description
A multimodal projector in the store, from ModelStore::projectors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringIts directory’s name under projectors/.
path: PathBufThe GGUF (llama.cpp --mmproj).
size: u64§for_model: Option<String>The model it is for (its provenance’s base), when known.
provenance: Option<Provenance>Trait Implementations§
Source§impl Clone for StoredProjector
impl Clone for StoredProjector
Source§impl Debug for StoredProjector
impl Debug for StoredProjector
Source§impl<'de> Deserialize<'de> for StoredProjector
impl<'de> Deserialize<'de> for StoredProjector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StoredProjector
Source§impl PartialEq for StoredProjector
impl PartialEq for StoredProjector
Source§impl Serialize for StoredProjector
impl Serialize for StoredProjector
impl StructuralPartialEq for StoredProjector
Auto Trait Implementations§
impl Forget for StoredProjector
impl Freeze for StoredProjector
impl Move for StoredProjector
impl RefUnwindSafe for StoredProjector
impl Send for StoredProjector
impl Sync for StoredProjector
impl Unpin for StoredProjector
impl UnsafeUnpin for StoredProjector
impl UnwindSafe for StoredProjector
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