pub struct ModelModalityMatrix {
pub text: Option<bool>,
pub image: Option<bool>,
pub audio: Option<bool>,
pub video: Option<bool>,
pub pdf: Option<bool>,
}Expand description
Capability flags per modality.
Fields§
§text: Option<bool>§image: Option<bool>§audio: Option<bool>§video: Option<bool>§pdf: Option<bool>Trait Implementations§
Source§impl Clone for ModelModalityMatrix
impl Clone for ModelModalityMatrix
Source§fn clone(&self) -> ModelModalityMatrix
fn clone(&self) -> ModelModalityMatrix
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 ModelModalityMatrix
impl Debug for ModelModalityMatrix
Source§impl Default for ModelModalityMatrix
impl Default for ModelModalityMatrix
Source§fn default() -> ModelModalityMatrix
fn default() -> ModelModalityMatrix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelModalityMatrix
impl<'de> Deserialize<'de> for ModelModalityMatrix
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 ModelModalityMatrix
Source§impl PartialEq for ModelModalityMatrix
impl PartialEq for ModelModalityMatrix
Source§impl Serialize for ModelModalityMatrix
impl Serialize for ModelModalityMatrix
impl StructuralPartialEq for ModelModalityMatrix
Auto Trait Implementations§
impl Freeze for ModelModalityMatrix
impl RefUnwindSafe for ModelModalityMatrix
impl Send for ModelModalityMatrix
impl Sync for ModelModalityMatrix
impl Unpin for ModelModalityMatrix
impl UnsafeUnpin for ModelModalityMatrix
impl UnwindSafe for ModelModalityMatrix
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.