pub struct ModelOperationCapability { /* private fields */ }Implementations§
Source§impl ModelOperationCapability
impl ModelOperationCapability
pub fn input<T>(self, value: T) -> Self
pub fn modality<T>(self, value: T) -> Self
pub fn operation<T>(self, value: T) -> Self
pub fn output<T>(self, value: T) -> Self
pub fn pricing_units<T>(self, value: T) -> Self
pub fn source_types<T>(self, value: T) -> Self
pub fn streamable<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ModelOperationCapability
impl Clone for ModelOperationCapability
Source§fn clone(&self) -> ModelOperationCapability
fn clone(&self) -> ModelOperationCapability
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 ModelOperationCapability
impl Debug for ModelOperationCapability
Source§impl Default for ModelOperationCapability
impl Default for ModelOperationCapability
Source§impl From<ModelOperationCapability> for ModelOperationCapability
impl From<ModelOperationCapability> for ModelOperationCapability
Source§fn from(value: ModelOperationCapability) -> Self
fn from(value: ModelOperationCapability) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ModelOperationCapability> for ModelOperationCapability
impl TryFrom<ModelOperationCapability> for ModelOperationCapability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ModelOperationCapability) -> Result<Self, ConversionError>
fn try_from(value: ModelOperationCapability) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ModelOperationCapability
impl RefUnwindSafe for ModelOperationCapability
impl Send for ModelOperationCapability
impl Sync for ModelOperationCapability
impl Unpin for ModelOperationCapability
impl UnsafeUnpin for ModelOperationCapability
impl UnwindSafe for ModelOperationCapability
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